Skip to content

Commit

Permalink
Fix expfmt text parse test constant quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
cluttrdev committed Dec 4, 2023
1 parent ed39f8c commit 8066536
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/expfmt/text_parse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ func TestTextParser_LineToMetric(t *testing.T) {
out *expfmt.Metric
}{
{
in: "",
in: ``,
out: nil,
},
{
in: "minimal_metric 42.1337",
in: `minimal_metric 42.1337`,
out: &expfmt.Metric{
Name: "minimal_metric",
Value: 42.1337,
},
},
{
in: "no_labels{} 3",
in: `no_labels{} 3`,
out: &expfmt.Metric{
Name: "no_labels",
Value: 3,
Expand Down

0 comments on commit 8066536

Please sign in to comment.