From c52e2c00e62205f4ed3fb052c13822e8b5a124e1 Mon Sep 17 00:00:00 2001 From: Spandan Das Date: Thu, 2 Mar 2023 23:45:10 +0000 Subject: [PATCH] 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 --- android/util_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/util_test.go b/android/util_test.go index 1034d9e5c..5584b38f7 100644 --- a/android/util_test.go +++ b/android/util_test.go @@ -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) } }) }