summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Zi Wang <mrziwang@google.com> 2023-10-30 14:42:44 -0700
committer Zi Wang <mrziwang@google.com> 2023-10-30 14:42:44 -0700
commitfe152e302a3de72c1d6e044d89cfa74271b86e6d (patch)
tree12816716d0fe5c007fee4d134e7592c68abd499e
parent87e4128270542d78526409a9154fe2eeb40f797c (diff)
Update TestNonExistentPropertyInSoongConfigModule
with new expected error message that reflects the real unrecognized property Test: TestNonExistentPropertyInSoongConfigModule and CI Bug: 171232169 Change-Id: I5af8e62b12a80c4891d7f3b57bbf4be456b2a798
-rw-r--r--android/soong_config_modules_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/android/soong_config_modules_test.go b/android/soong_config_modules_test.go
index 79bdeb829..a6b2c51c6 100644
--- a/android/soong_config_modules_test.go
+++ b/android/soong_config_modules_test.go
@@ -376,8 +376,7 @@ func TestNonExistentPropertyInSoongConfigModule(t *testing.T) {
prepareForSoongConfigTestModule,
FixtureWithRootAndroidBp(bp),
).ExtendWithErrorHandler(FixtureExpectsAllErrorsToMatchAPattern([]string{
- // TODO(b/171232169): improve the error message for non-existent properties
- `unrecognized property "soong_config_variables`,
+ `unrecognized property "soong_config_variables.feature1.made_up_property`,
})).RunTest(t)
}