summaryrefslogtreecommitdiff
path: root/android/util_test.go
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2023-03-02 23:45:10 +0000
committer Spandan Das <spandandas@google.com> 2023-03-02 23:47:16 +0000
commitc52e2c00e62205f4ed3fb052c13822e8b5a124e1 (patch)
treee7ed3b54943be6f64a8caaff7df2f1d7f6cb71e7 /android/util_test.go
parentaa3408a50648c6076d9cc3542523b01e83c11b28 (diff)
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
Diffstat (limited to 'android/util_test.go')
-rw-r--r--android/util_test.go2
1 files changed, 1 insertions, 1 deletions
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)
}
})
}