Skip to content

Commit

Permalink
test: fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Manan Gupta <manan@planetscale.com>
  • Loading branch information
GuptaManan100 committed May 23, 2024
1 parent dc92968 commit 0798f5c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions go/stats/counter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,18 +151,18 @@ func TestNewGaugeWithDeprecatedName(t *testing.T) {
shouldPanic bool
}{
{
name: "new_name",
deprecatedName: "deprecatedName",
name: "gauge_new_name",
deprecatedName: "gauge_deprecatedName",
shouldPanic: true,
},
{
name: "metricName_test",
deprecatedName: "metric.name-test",
name: "gauge-metricName_test",
deprecatedName: "gauge_metric.name-test",
shouldPanic: false,
},
{
name: "MetricNameTesting",
deprecatedName: "metric.name.testing",
name: "GaugeMetricNameTesting",
deprecatedName: "gauge.metric.name.testing",
shouldPanic: false,
},
}
Expand Down

0 comments on commit 0798f5c

Please sign in to comment.