diff options
Diffstat (limited to 'android/util_test.go')
| -rw-r--r-- | android/util_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/util_test.go b/android/util_test.go index bee31a9fd..0e28b568b 100644 --- a/android/util_test.go +++ b/android/util_test.go @@ -385,7 +385,7 @@ func TestCopyOfEmptyAndNil(t *testing.T) { emptyList := []string{} copyOfEmptyList := CopyOf(emptyList) AssertBoolEquals(t, "Copy of an empty list should be an empty list and not nil", true, copyOfEmptyList != nil) - copyOfNilList := CopyOf(nil) + copyOfNilList := CopyOf([]string(nil)) AssertBoolEquals(t, "Copy of a nil list should be a nil list and not an empty list", true, copyOfNilList == nil) } |