Skip to content

Commit

Permalink
add missed comma
Browse files Browse the repository at this point in the history
  • Loading branch information
Egor Redozubov committed Nov 18, 2024
1 parent a139486 commit 823ac9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion expr/functions/countValues/function_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func TestCountValues(t *testing.T) {
},
},
{
"countValues(metric1.foo.*.*, 5)"
"countValues(metric1.foo.*.*, 5)",
map[parser.MetricRequest][]*types.MetricData{
{"metric1.foo.*.*", 0, 1}: {

Check failure on line 90 in expr/functions/countValues/function_test.go

View workflow job for this annotation

GitHub Actions / Test code (^1.21)

cannot use 0 (untyped int constant) as string value in struct literal

Check failure on line 90 in expr/functions/countValues/function_test.go

View workflow job for this annotation

GitHub Actions / Test code (^1.21)

too few values in struct literal of type struct{Metric string; ConsolidationFunc string; From int64; Until int64}

Check failure on line 90 in expr/functions/countValues/function_test.go

View workflow job for this annotation

GitHub Actions / Test code (^1)

cannot use 0 (untyped int constant) as string value in struct literal

Check failure on line 90 in expr/functions/countValues/function_test.go

View workflow job for this annotation

GitHub Actions / Test code (^1)

too few values in struct literal of type struct{Metric string; ConsolidationFunc string; From int64; Until int64}
types.MakeMetricData("metric1.foo.bar1.baz", []float64{1, 2, 3, 4, 5}, 1, now32),
Expand Down

0 comments on commit 823ac9b

Please sign in to comment.