Update TestNonExistentPropertyInSoongConfigModule
with new expected error message that reflects the real unrecognized property Test: TestNonExistentPropertyInSoongConfigModule and CI Bug: 171232169 Change-Id: I5af8e62b12a80c4891d7f3b57bbf4be456b2a798
This commit is contained in:
@@ -376,8 +376,7 @@ func TestNonExistentPropertyInSoongConfigModule(t *testing.T) {
|
|||||||
prepareForSoongConfigTestModule,
|
prepareForSoongConfigTestModule,
|
||||||
FixtureWithRootAndroidBp(bp),
|
FixtureWithRootAndroidBp(bp),
|
||||||
).ExtendWithErrorHandler(FixtureExpectsAllErrorsToMatchAPattern([]string{
|
).ExtendWithErrorHandler(FixtureExpectsAllErrorsToMatchAPattern([]string{
|
||||||
// TODO(b/171232169): improve the error message for non-existent properties
|
`unrecognized property "soong_config_variables.feature1.made_up_property`,
|
||||||
`unrecognized property "soong_config_variables`,
|
|
||||||
})).RunTest(t)
|
})).RunTest(t)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user