Skip to content

Commit

Permalink
🔧 releax regex checking for "tested on" section
Browse files Browse the repository at this point in the history
  • Loading branch information
brutus committed Aug 10, 2021
1 parent ceee362 commit 56101c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions check-guides.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@ def check_image_file(filename: Path, content: str) -> bool:
),
Check(
"error-structure-tested",
action="search",
argument="Tested on Uberspace",
action="regex",
argument=r"Tested (on|with) [^\n]*Uberspace",
help="no `Tested on Uberspace` part",
),
Check(
Expand All @@ -261,7 +261,7 @@ def check_image_file(filename: Path, content: str) -> bool:
Check(
"warning-structure-break-outro",
action="regex",
argument=r"\n\n----+\n\nTested on Uberspace",
argument=r"\n\n----+\n\nTested",
help="no break `----` after outro section",
),
Check(
Expand Down

0 comments on commit 56101c9

Please sign in to comment.