From d5bea1b70fabf8ea729cf2d2b409f1983bb31c6d Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Fri, 19 Jul 2019 17:28:42 +0200 Subject: [PATCH] :wrench: Update test contains --- help/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/help/test.sh b/help/test.sh index 0f5889d2..af28a55a 100644 --- a/help/test.sh +++ b/help/test.sh @@ -28,7 +28,7 @@ assert_returns() { assert_contain() { local contains - contains=$(grep '// \[contains\]' "$1" | cut -d "]" -f2) + contains=$(grep '#! \[contains\]' "$1" | cut -d "]" -f2) contains=${contains:1} [ -z "$contains" ] && return 0 grep "$contains" "$2.err.log" > /dev/null && return 0 -- 2.43.0