Skip to content

Commit c45082e

Browse files
committed
restore indirection
1 parent 921b34b commit c45082e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/src/main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ func TestReadConfig(t *testing.T) {
351351
oldConfigPath := *configPath
352352
t.Cleanup(func() { *configPath = oldConfigPath })
353353

354-
data, err := json.Marshal(test.fileContents)
354+
data, err := json.Marshal(*test.fileContents)
355355
if err != nil {
356356
t.Fatal(err)
357357
}

0 commit comments

Comments
 (0)