Skip to content

Commit c93ed4b

Browse files
committed
Fix race
1 parent 71d729e commit c93ed4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

map_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func TestMap(t *testing.T) {
8383
t.Run("badJSON", func(t *testing.T) {
8484
t.Parallel()
8585

86-
mapTestFile = strings.Replace(mapTestFile, "_test", "", 1)
86+
mapTestFile := strings.Replace(mapTestFile, "_test", "", 1)
8787

8888
test(t, slog.M(
8989
slog.F("meow", indentJSON),

0 commit comments

Comments
 (0)