Add a few trailing commas to tests.
That is to prove that trailing commas work for the processor. Change-Id: Ibecac811d47958387c9633df69bafbe284cf0b8f
This commit is contained in:
parent
d0daf681d6
commit
29347ab2a9
|
@ -95,7 +95,7 @@ name {labelname="val2",basename="base\"v\\al\nue"} 0.23 1234567890
|
||||||
# HELP name2 doc str"ing 2
|
# HELP name2 doc str"ing 2
|
||||||
# TYPE name2 gauge
|
# TYPE name2 gauge
|
||||||
name2{labelname="val2" ,basename = "basevalue2" } +Inf 54321
|
name2{labelname="val2" ,basename = "basevalue2" } +Inf 54321
|
||||||
name2{ labelname = "val1" }-Inf
|
name2{ labelname = "val1" , }-Inf
|
||||||
`,
|
`,
|
||||||
out: []*dto.MetricFamily{
|
out: []*dto.MetricFamily{
|
||||||
&dto.MetricFamily{
|
&dto.MetricFamily{
|
||||||
|
@ -189,7 +189,7 @@ my_summary_count{n2="val2",n1="val1"} 5 5
|
||||||
another_summary{n1="val1",n2="val2",quantile=".3"} -1.2
|
another_summary{n1="val1",n2="val2",quantile=".3"} -1.2
|
||||||
my_summary_sum{n1="val2"} 08 15
|
my_summary_sum{n1="val2"} 08 15
|
||||||
my_summary{n1="val3", quantile="0.2"} 4711
|
my_summary{n1="val3", quantile="0.2"} 4711
|
||||||
my_summary{n1="val1",n2="val2",quantile="-12.34"} NaN
|
my_summary{n1="val1",n2="val2",quantile="-12.34",} NaN
|
||||||
# some
|
# some
|
||||||
# funny comments
|
# funny comments
|
||||||
# HELP
|
# HELP
|
||||||
|
|
Loading…
Reference in New Issue