Skip to content

Commit 7bf54dc

Browse files
committed
fix tests
1 parent ab70a63 commit 7bf54dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/extract_snippets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def extract_tests(filepath):
1212
filepath_short = os.path.basename(filepath)
1313
article_name = filepath_short.split('.')[0]
1414

15-
snippet_start = re.compile(r"^```cpp\s+(\S+)$")
15+
snippet_start = re.compile(r"^```\{.cpp\s+file=(\S+)\}$")
1616
snippet_end = re.compile(r"^```$")
1717

1818
with open(filepath) as f:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy