]> git.scottworley.com Git - paperdoorknob/commitdiff
Don't uselessly repeat preamble in test
authorScott Worley <scottworley@scottworley.com>
Sun, 31 Dec 2023 21:49:42 +0000 (13:49 -0800)
committerScott Worley <scottworley@scottworley.com>
Sun, 31 Dec 2023 21:58:58 +0000 (13:58 -0800)
paperdoorknob_test.py

index 511abb3c17d6ae676be0cd838e5e5b8587e95526..61c8e6a77b6450054af5dcfc9d313efbc06ef1c1 100644 (file)
@@ -50,7 +50,7 @@ class BaseTestProcess(ABC):
         assert re.match(br'''\\documentclass{article}
 (\\usepackage{[a-z]+}\n)+\\usepackage\[margin=20mm\]{geometry}
 \\begin{document}
         assert re.match(br'''\\documentclass{article}
 (\\usepackage{[a-z]+}\n)+\\usepackage\[margin=20mm\]{geometry}
 \\begin{document}
-\\newcommand{\\href}\[2\]{#2\\footnote{\\detokenize{#1}}}
+.*
 This is \\href{https://glowfic.com}{glowfic}
 
 You \\emph{sure}\?
 This is \\href{https://glowfic.com}{glowfic}
 
 You \\emph{sure}\?