fix: ERE alternation pattern in HTML body check (BRE \| → ERE |)
This commit is contained in:
+1
-1
@@ -84,7 +84,7 @@ curl -s -o /dev/null -D "$TMPDIR/headers" "$BASE_URL/"
|
||||
assert_contains "Content-Type text/html" "text/html" "$TMPDIR/headers"
|
||||
|
||||
# Test 3: Body contains HTML
|
||||
assert_contains "Body is HTML" "<html\|<!DOCTYPE" "$TMPDIR/body"
|
||||
assert_contains "Body is HTML" "<html|DOCTYPE" "$TMPDIR/body"
|
||||
|
||||
echo ""
|
||||
echo "$PASSED/$(($PASSED + $FAILED)) tests passed"
|
||||
|
||||
Reference in New Issue
Block a user