Merge "Add container property to aconfig_declarations." into main

This commit is contained in:
Yu Liu
2023-11-30 21:33:34 +00:00
committed by Gerrit Code Review
26 changed files with 750 additions and 146 deletions

View File

@@ -1293,3 +1293,10 @@ func StringRelativeToTop(config Config, command string) string {
func StringsRelativeToTop(config Config, command []string) []string {
return normalizeStringArrayRelativeToTop(config, command)
}
func EnsureListContainsSuffix(t *testing.T, result []string, expected string) {
t.Helper()
if !SuffixInList(result, expected) {
t.Errorf("%q is not found in %v", expected, result)
}
}