Skip to content

Commit 2e66f47

Browse files
dvordrovamstoykov
authored andcommitted
fix: mistypo
1 parent a2a5e1c commit 2e66f47

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: metrics/tags_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ func TestTagSets(t *testing.T) {
9494
func TestBigTagSetMarshalJSON(t *testing.T) {
9595
t.Parallel()
9696

97-
expextedJSON := `{"tag0":"value0","tag1":"value1","tag2":"value2","tag3":"value3","tag4":"value4","tag5":"value5","tag6":"value6","tag7":"value7"}`
98-
assert.Greater(t, len(expextedJSON), 128)
97+
expectedJSON := `{"tag0":"value0","tag1":"value1","tag2":"value2","tag3":"value3","tag4":"value4","tag5":"value5","tag6":"value6","tag7":"value7"}`
98+
assert.Greater(t, len(expectedJSON), 128)
9999

100100
tags := NewRegistry().RootTagSet()
101101
for i := range 8 {
@@ -104,7 +104,7 @@ func TestBigTagSetMarshalJSON(t *testing.T) {
104104

105105
rJSON, err := tags.MarshalJSON()
106106
require.NoError(t, err)
107-
assert.Equal(t, expextedJSON, string(rJSON))
107+
assert.Equal(t, expectedJSON, string(rJSON))
108108
}
109109

110110
func TestTagSetContains(t *testing.T) {

0 commit comments

Comments
 (0)