test: allow multiple 'has been added' matches in preview test 3

For an undeployed app, the additive diff covers every chart resource, so
the literal 'has been added' header appears once per resource - six times
in the python test app's chart. `assert_output_contains` defaults to
exact-count 1, which fails. Pass -1 (at least 1) to match the actual
semantics of the test.
This commit is contained in:
Jose Diaz-Gonzalez committed 2026-06-03 01:53:30 -04:00
1 parent 4ce8afaa97
commit ac6e4f5793
1 file changed
+1 -1
+1 -1
View File
@@ -87,5 +87,5 @@ teardown() {
echo "output: $output" echo "output: $output"
echo "status: $status" echo "status: $status"
assert_success assert_success
assert_output_contains "has been added" assert_output_contains "has been added" -1
} }