Use default format in print statement

For some reason, %q complains when the test is run outside m

Test: go test ./android
Change-Id: I1a6571feb59f342c9645b998ea2f01ff0a581e90
This commit is contained in:
Spandan Das
2023-03-02 23:45:10 +00:00
parent aa3408a506
commit c52e2c00e6

View File

@@ -646,7 +646,7 @@ func testSortedKeysHelper[K Ordered, V any](t *testing.T, name string, input map
t.Run(name, func(t *testing.T) {
actual := SortedKeys(input)
if !reflect.DeepEqual(actual, expected) {
t.Errorf("expected %q, got %q", expected, actual)
t.Errorf("expected %v, got %v", expected, actual)
}
})
}