diff options
Diffstat (limited to 'android/test_asserts.go')
-rw-r--r-- | android/test_asserts.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/android/test_asserts.go b/android/test_asserts.go index edeb40889..064f6562b 100644 --- a/android/test_asserts.go +++ b/android/test_asserts.go @@ -77,14 +77,14 @@ func AssertPathsRelativeToTopEquals(t *testing.T, message string, expected []str // StringPathRelativeToTop on the actual string path. func AssertStringPathRelativeToTopEquals(t *testing.T, message string, config Config, expected string, actual string) { t.Helper() - AssertStringEquals(t, message, expected, StringPathRelativeToTop(config.buildDir, actual)) + AssertStringEquals(t, message, expected, StringPathRelativeToTop(config.soongOutDir, actual)) } // AssertStringPathsRelativeToTopEquals checks if the expected value is equal to the result of // calling StringPathsRelativeToTop on the actual string paths. func AssertStringPathsRelativeToTopEquals(t *testing.T, message string, config Config, expected []string, actual []string) { t.Helper() - AssertDeepEquals(t, message, expected, StringPathsRelativeToTop(config.buildDir, actual)) + AssertDeepEquals(t, message, expected, StringPathsRelativeToTop(config.soongOutDir, actual)) } // AssertErrorMessageEquals checks if the error is not nil and has the expected message. If it does |