[latex3-commits] [l3svn] r6304 - Add testfile showing SplitList bug

noreply at latex-project.org noreply at latex-project.org
Sun Nov 22 16:53:24 CET 2015


Author: bruno
Date: 2015-11-22 16:53:24 +0100 (Sun, 22 Nov 2015)
New Revision: 6304

Modified:
   trunk/l3packages/xparse/testfiles/xparse004.lvt
   trunk/l3packages/xparse/testfiles/xparse004.tlg
Log:
Add testfile showing SplitList bug


Modified: trunk/l3packages/xparse/testfiles/xparse004.lvt
===================================================================
--- trunk/l3packages/xparse/testfiles/xparse004.lvt	2015-11-22 15:31:34 UTC (rev 6303)
+++ trunk/l3packages/xparse/testfiles/xparse004.lvt	2015-11-22 15:53:24 UTC (rev 6304)
@@ -194,4 +194,10 @@
     \ShowDocumentCommandArgSpec       { ~\?~ }
   }
 
+\TEST { SplitList }
+  {
+    \DeclareDocumentCommand { \foo } { > { \SplitList {)||(\BOOM\c_false_bool} } m } { \tl_show:n {#1} }
+    { \foo { a ( b } }
+  }
+
 \END

Modified: trunk/l3packages/xparse/testfiles/xparse004.tlg
===================================================================
--- trunk/l3packages/xparse/testfiles/xparse004.tlg	2015-11-22 15:31:34 UTC (rev 6303)
+++ trunk/l3packages/xparse/testfiles/xparse004.tlg	2015-11-22 15:53:24 UTC (rev 6304)
@@ -953,3 +953,24 @@
 <recently read> }
 l. ...  }
 ============================================================
+============================================================
+TEST 11: SplitList
+============================================================
+.................................................
+. LaTeX info: "xparse/define-command"
+. 
+. Defining command \foo with sig. '>{\SplitList {)||(\BOOM \c_false_bool }}m'
+. on line ....
+.................................................
+! Undefined control sequence.
+<argument> \BOOM 
+l. ...  }
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
+> {a(b}.
+<recently read> }
+l. ...  }
+============================================================



More information about the latex3-commits mailing list