[latex3-commits] [git/LaTeX3-latex3-latex3] cs-delimited-args: Update test files (954929822)

PhelypeOleinik tex.phelype at gmail.com
Tue Feb 25 18:25:39 CET 2020


Repository : https://github.com/latex3/latex3
On branch  : cs-delimited-args
Link       : https://github.com/latex3/latex3/commit/95492982249819bbf1be6106e961858794ea4c43

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

commit 95492982249819bbf1be6106e961858794ea4c43
Author: PhelypeOleinik <tex.phelype at gmail.com>
Date:   Tue Feb 25 14:25:39 2020 -0300

    Update test files
    
    not-single-char warnings were dropped, as now they are accepted, and not-single-char errors changed to not-single-token.


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

95492982249819bbf1be6106e961858794ea4c43
 l3packages/xparse/testfiles/xparse001.tlg |  2 --
 l3packages/xparse/testfiles/xparse004.tlg | 26 ++++++++------------------
 l3packages/xparse/testfiles/xparse005.tlg |  8 ++------
 3 files changed, 10 insertions(+), 26 deletions(-)

diff --git a/l3packages/xparse/testfiles/xparse001.tlg b/l3packages/xparse/testfiles/xparse001.tlg
index 4bafd9ce9..719a9a7fe 100644
--- a/l3packages/xparse/testfiles/xparse001.tlg
+++ b/l3packages/xparse/testfiles/xparse001.tlg
@@ -363,8 +363,6 @@ l. ...}
 > \foo code=\protected\long macro:#1#2#3->(#1)(#2)(#3).
 <recently read> }
 l. ...}
-LaTeX3 Warning: Argument delimiter '\par ' for the command '\foo' should be a
-(LaTeX3)        single character.
 > \foo=\protected macro:->\__xparse_start:nNNnnn {+t\par O{default}mmm}\foo 
 \foo code {\__xparse_grab_t:w \par \__xparse_grab_D:w []\__xparse_grab_m_3:w
 }{\c_novalue_tl {\prg_do_nothing: default}\c_novalue_tl \c_novalue_tl
diff --git a/l3packages/xparse/testfiles/xparse004.tlg b/l3packages/xparse/testfiles/xparse004.tlg
index 5df3ec283..be50e6248 100644
--- a/l3packages/xparse/testfiles/xparse004.tlg
+++ b/l3packages/xparse/testfiles/xparse004.tlg
@@ -145,30 +145,30 @@ pieces of information were missing.
 LaTeX will ignore this entire definition.
 > \foo=undefined.
 ! LaTeX3 Error: Argument delimiter 'oh' for the command '\foo' should be a
-(LaTeX3)        single character.
+(LaTeX3)        single token.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
 The argument specification provided was not valid: in a place where a single
-character is required, LaTeX found 'oh'.
+token is required, LaTeX found 'oh'.
 LaTeX will ignore this entire definition.
 > \foo=undefined.
 ! LaTeX3 Error: Argument delimiter '' for the command '\foo' should be a
-(LaTeX3)        single character.
+(LaTeX3)        single token.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
 The argument specification provided was not valid: in a place where a single
-character is required, LaTeX found ''.
+token is required, LaTeX found ''.
 LaTeX will ignore this entire definition.
 > \foo=undefined.
 ! LaTeX3 Error: Argument delimiter '{Y}' for the command '\foo' should be a
-(LaTeX3)        single character.
+(LaTeX3)        single token.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
 The argument specification provided was not valid: in a place where a single
-character is required, LaTeX found '{Y}'.
+token is required, LaTeX found '{Y}'.
 LaTeX will ignore this entire definition.
 > \foo=undefined.
 ! LaTeX3 Error: Bad argument specification '+>{\ReverseBoolean }' for command
@@ -629,12 +629,12 @@ The letter 'abc' does not specify a known argument type.
 LaTeX will ignore this entire definition.
 undefined
 ! LaTeX3 Error: Argument delimiter 'abc' for the command '\foo' should be a
-(LaTeX3)        single character.
+(LaTeX3)        single token.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
 The argument specification provided was not valid: in a place where a single
-character is required, LaTeX found 'abc'.
+token is required, LaTeX found 'abc'.
 LaTeX will ignore this entire definition.
 undefined
 ! LaTeX3 Error: Bad argument specification 'D{abc}{def}' for command '\foo'.
@@ -783,8 +783,6 @@ TEST 21: Expandable e-type argument definitions
 ============================================================
 TEST 22: Long status of t-type ignored
 ============================================================
-LaTeX3 Warning: Argument delimiter '\par ' for the command '\foo' should be a
-(LaTeX3)        single character.
 |\BooleanTrue |\BooleanTrue |\par |\par |
 |\BooleanFalse |\BooleanTrue |-NoValue-|\par \A |
 Runaway argument?
@@ -850,15 +848,7 @@ Defining \CountArg on line ...
 ============================================================
 TEST 28: Non-character token delimiters
 ============================================================
-LaTeX3 Warning: Argument delimiter '\[' for the command '\foo' should be a
-(LaTeX3)        single character.
-LaTeX3 Warning: Argument delimiter '\]' for the command '\foo' should be a
-(LaTeX3)        single character.
 abc
-LaTeX3 Warning: Argument delimiter '\undefinedFirstArgument ' for the command
-(LaTeX3)        '\foo' should be a single character.
-LaTeX3 Warning: Argument delimiter '\undefinedSecondArgument ' for the command
-(LaTeX3)        '\foo' should be a single character.
 something/-NoValue-
 ============================================================
 ============================================================
diff --git a/l3packages/xparse/testfiles/xparse005.tlg b/l3packages/xparse/testfiles/xparse005.tlg
index b0670b962..3cb4465fe 100644
--- a/l3packages/xparse/testfiles/xparse005.tlg
+++ b/l3packages/xparse/testfiles/xparse005.tlg
@@ -299,17 +299,13 @@ The first argument of '\NewDocumentCommand' should be the document command
 that will be defined. The provided argument 'space' contains more than one
 token. Perhaps a backslash is missing?
 LaTeX will ignore this entire definition.
-LaTeX3 Warning: Argument delimiter '\(' for the command '\testA' should be a
-(LaTeX3)        single character.
-LaTeX3 Warning: Argument delimiter '\)' for the command '\testA' should be a
-(LaTeX3)        single character.
 ! LaTeX3 Error: Argument delimiter 'ab' for the command '\testB' should be a
-(LaTeX3)        single character.
+(LaTeX3)        single token.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
 The argument specification provided was not valid: in a place where a single
-character is required, LaTeX found 'ab'.
+token is required, LaTeX found 'ab'.
 LaTeX will ignore this entire definition.
 ! Undefined control sequence.
 <argument> \LaTeX3 error: 





More information about the latex3-commits mailing list.