Skip to content

Commit 700b9fe

Browse files
committed
BATS: k8s/spinkube-npm: Fix expected text
The spin-js-sdk template was updated at some point to print different text which caused tests to fail. Update the expression to match both the old and new outputs (and hopefully whatever else they change it to). Old text: "Hello from JS-SDK" Intermediate text: "Hello, Universe!" New text: "hello universe" Signed-off-by: Mark Yen <[email protected]>
1 parent e19fcfe commit 700b9fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bats/tests/k8s/spinkube-npm.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,5 @@ EOF
8787

8888
run --separate-stderr try curl --connect-timeout 5 --fail "http://${host}"
8989
assert_success
90-
assert_output "Hello from JS-SDK"
90+
assert_output --regexp '^[Hh]ello'
9191
}

0 commit comments

Comments
 (0)