[latex3-commits] [git/LaTeX3-latex3-latex2e] hook-args: Update tests (511825dc)

PhelypeOleinik phelype.oleinik at latex-project.org
Fri Apr 14 06:20:06 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : hook-args
Link       : https://github.com/latex3/latex2e/commit/511825dc199dcf2f9dcf45efe8ff0d2e24e9660d

>---------------------------------------------------------------

commit 511825dc199dcf2f9dcf45efe8ff0d2e24e9660d
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Fri Apr 14 01:20:06 2023 -0300

    Update tests


>---------------------------------------------------------------

511825dc199dcf2f9dcf45efe8ff0d2e24e9660d
 base/testfiles-lthooks/lthooks-033.tlg | 38 ++++++----------------------------
 1 file changed, 6 insertions(+), 32 deletions(-)

diff --git a/base/testfiles-lthooks/lthooks-033.tlg b/base/testfiles-lthooks/lthooks-033.tlg
index ffe7f490..1db4c8b0 100644
--- a/base/testfiles-lthooks/lthooks-033.tlg
+++ b/base/testfiles-lthooks/lthooks-033.tlg
@@ -60,28 +60,16 @@ l. ...  }
 You meant to type ## instead of #, right?
 Or maybe a } was forgotten somewhere earlier, and things
 are all screwed up? I'm going to assume that you meant ##.
-! Illegal parameter number in definition of \__hook test-1.
+! Illegal parameter number in definition of hook 'test-1'.
+(hooks)             Invalid code added on line ....
 <to be read again> 
                    2
 l. ...  }
 You meant to type ## instead of #, right?
 Or maybe a } was forgotten somewhere earlier, and things
 are all screwed up? I'm going to assume that you meant ##.
-! Illegal parameter number in definition of \__hook test-1.
-<to be read again> 
-                   2
-l. ...  }
-You meant to type ## instead of #, right?
-Or maybe a } was forgotten somewhere earlier, and things
-are all screwed up? I'm going to assume that you meant ##.
-! Illegal parameter number in definition of \__hook test-1.
-<to be read again> 
-                   2
-l. ...  }
-You meant to type ## instead of #, right?
-Or maybe a } was forgotten somewhere earlier, and things
-are all screwed up? I'm going to assume that you meant ##.
-! Illegal parameter number in definition of \__hook test-1.
+! Illegal parameter number in definition of hook 'test-1'.
+(hooks)             Invalid code added on line ....
 <to be read again> 
                    2
 l. ...  }
@@ -90,7 +78,7 @@ Or maybe a } was forgotten somewhere earlier, and things
 are all screwed up? I'm going to assume that you meant ##.
 -> The hook 'test-1' (1 argument):
 > Code chunks:
->     label -> \typeout {label-hashes(##1,##2)}\typeout {label-args(#1,#2)}\typeout {label-hashes(##1,##2)}\typeout {label-args(#1,#2)}
+>     label -> \typeout {label-hashes(##1,##2)}\typeout {label-args(#1,##2)}\typeout {label-hashes(##1,##2)}\typeout {label-args(#1,##2)}
 > Document-level (top-level) code (executed last):
 >     -> \typeout {top-hashes(##1,##2)}\typeout {top-args(#1,##2)}\typeout {top-hashes(##1,##2)}\typeout {top-args(#1,##2)}
 > Extra code for next invocation:
@@ -113,23 +101,9 @@ next-hashes(##1,##2)
 next-args(foo,##2)
 next-hashes(##1,##2)
 next-args(foo,##2)
-! Illegal parameter number in definition of \__hook test-1.
-<to be read again> 
-                   2
-l. ...  }
-You meant to type ## instead of #, right?
-Or maybe a } was forgotten somewhere earlier, and things
-are all screwed up? I'm going to assume that you meant ##.
-! Illegal parameter number in definition of \__hook test-1.
-<to be read again> 
-                   2
-l. ...  }
-You meant to type ## instead of #, right?
-Or maybe a } was forgotten somewhere earlier, and things
-are all screwed up? I'm going to assume that you meant ##.
 -> The hook 'test-1' (1 argument):
 > Code chunks:
->     label -> \typeout {label-hashes(##1,##2)}\typeout {label-args(#1,#2)}\typeout {label-hashes(##1,##2)}\typeout {label-args(#1,#2)}
+>     label -> \typeout {label-hashes(##1,##2)}\typeout {label-args(#1,##2)}\typeout {label-hashes(##1,##2)}\typeout {label-args(#1,##2)}
 > Document-level (top-level) code (executed last):
 >     -> \typeout {top-hashes(##1,##2)}\typeout {top-args(#1,##2)}\typeout {top-hashes(##1,##2)}\typeout {top-args(#1,##2)}
 > Extra code for next invocation:





More information about the latex3-commits mailing list.