Skip to content

Commit 665ff9f

Browse files
committed
test: extend test_docs for collapsed info boxes
1 parent 510c47b commit 665ff9f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_docs.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
# Test Documentation boxes -
33
# !!! <TYPE>: is not allowed!
44
# !!! <TYPE> "title" - Title needs to be quoted!
5-
grep -Er '^!{3}\s\S+:|^!{3}\s\S+\s[^"]' docs/*
5+
# Same for ???
6+
grep -Er '^(!{3}|\?{3})\s\S+:|^(!{3}|\?{3})\s\S+\s[^"]' docs/*
67

78
if [ $? -ne 0 ]; then
89
echo "Docs test success."

0 commit comments

Comments
 (0)