Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ywwg committed Nov 25, 2024
1 parent 95defda commit b35c146
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions model/metric_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ func TestEscapeMetricFamily(t *testing.T) {
},
},
expected: &dto.MetricFamily{
Name: proto.String("unicode_dot_and_dot_dots_dot___"),
Name: proto.String("unicode_dot_and_dot_dots_dot_____"),
Help: proto.String("some help text"),
Type: dto.MetricType_GAUGE.Enum(),
Metric: []*dto.Metric{
Expand All @@ -599,7 +599,7 @@ func TestEscapeMetricFamily(t *testing.T) {
Label: []*dto.LabelPair{
{
Name: proto.String("__name__"),
Value: proto.String("unicode_dot_and_dot_dots_dot___"),
Value: proto.String("unicode_dot_and_dot_dots_dot_____"),
},
{
Name: proto.String("some_label"),
Expand Down

0 comments on commit b35c146

Please sign in to comment.