Skip to content

Commit 56101c9

Browse files
committed
🔧 releax regex checking for "tested on" section
1 parent ceee362 commit 56101c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

check-guides.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,8 @@ def check_image_file(filename: Path, content: str) -> bool:
248248
),
249249
Check(
250250
"error-structure-tested",
251-
action="search",
252-
argument="Tested on Uberspace",
251+
action="regex",
252+
argument=r"Tested (on|with) [^\n]*Uberspace",
253253
help="no `Tested on Uberspace` part",
254254
),
255255
Check(
@@ -261,7 +261,7 @@ def check_image_file(filename: Path, content: str) -> bool:
261261
Check(
262262
"warning-structure-break-outro",
263263
action="regex",
264-
argument=r"\n\n----+\n\nTested on Uberspace",
264+
argument=r"\n\n----+\n\nTested",
265265
help="no break `----` after outro section",
266266
),
267267
Check(

0 commit comments

Comments
 (0)