From: Scott Worley Date: Sun, 31 Dec 2023 21:49:42 +0000 (-0800) Subject: Don't uselessly repeat preamble in test X-Git-Url: http://git.scottworley.com/paperdoorknob/commitdiff_plain/7804859f8fe8b8dc94b6a33b2221ac0b68d7ed86?ds=inline Don't uselessly repeat preamble in test --- diff --git a/paperdoorknob_test.py b/paperdoorknob_test.py index 511abb3..61c8e6a 100644 --- a/paperdoorknob_test.py +++ b/paperdoorknob_test.py @@ -50,7 +50,7 @@ class BaseTestProcess(ABC): 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}\?