From: fennecdjay Date: Fri, 19 Jul 2019 15:28:42 +0000 (+0200) Subject: :wrench: Update test contains X-Git-Tag: nightly~2317 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=d5bea1b70fabf8ea729cf2d2b409f1983bb31c6d;p=gwion.git :wrench: Update test contains --- 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