diff options
| author | 2020-08-21 09:36:30 +0000 | |
|---|---|---|
| committer | 2020-08-21 09:36:30 +0000 | |
| commit | 49b1e9b6ce37288bf29e8ba0c41cdb45fc64405d (patch) | |
| tree | bbbaaea63d5c587585586533138d64cc72299edf /java/java_test.go | |
| parent | bde92fc6bee17a044681c84cd0bba0e5ea225fa3 (diff) | |
| parent | b8063c6a86b46ca5f4cb3f35d25c846ea6647d91 (diff) | |
Merge "Use common helper functions for getting sorted map keys."
Diffstat (limited to 'java/java_test.go')
| -rw-r--r-- | java/java_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/java_test.go b/java/java_test.go index 0089545ca..0e936118c 100644 --- a/java/java_test.go +++ b/java/java_test.go @@ -1495,7 +1495,7 @@ func TestJavaSdkLibrary(t *testing.T) { // test if baz has exported SDK lib names foo and bar to qux qux := ctx.ModuleForTests("qux", "android_common") if quxLib, ok := qux.Module().(*Library); ok { - sdkLibs := quxLib.ExportedSdkLibs().Names() + sdkLibs := android.SortedStringKeys(quxLib.ExportedSdkLibs()) if w := []string{"bar", "foo", "fred", "quuz"}; !reflect.DeepEqual(w, sdkLibs) { t.Errorf("qux should export %q but exports %q", w, sdkLibs) } |