[latex3-commits] [git/LaTeX3-latex3-latex3] master: Avoid allocation messages in a test file, check them in another (0fdb4ad5e)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Jul 16 12:13:16 CEST 2020


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/0fdb4ad5e957f5252017a1bb0733aed9e06a303b

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

commit 0fdb4ad5e957f5252017a1bb0733aed9e06a303b
Author: Bruno Le Floch <bruno at le-floch.fr>
Date:   Thu Jul 2 17:11:43 2020 +0200

    Avoid allocation messages in a test file, check them in another


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

0fdb4ad5e957f5252017a1bb0733aed9e06a303b
 l3kernel/testfiles/m3cctab001.lvt        |  4 ++++
 l3kernel/testfiles/m3cctab002.luatex.tlg |  6 ++++++
 l3kernel/testfiles/m3cctab002.lvt        | 11 +++++++++++
 l3kernel/testfiles/m3cctab002.tlg        |  4 ++++
 4 files changed, 25 insertions(+)

diff --git a/l3kernel/testfiles/m3cctab001.lvt b/l3kernel/testfiles/m3cctab001.lvt
index c59d0c39a..c8044b2a4 100644
--- a/l3kernel/testfiles/m3cctab001.lvt
+++ b/l3kernel/testfiles/m3cctab001.lvt
@@ -62,6 +62,10 @@
         \cctab_end:
       \cctab_end:
     \cctab_end:
+    { \cctab_select:N \c_code_cctab }
+    { { \cctab_select:N \c_code_cctab } }
+    { { { \cctab_select:N \c_code_cctab } } }
+    { { { { { \cctab_select:N \c_code_cctab } } } } }
   }
 \TIMO
 
diff --git a/l3kernel/testfiles/m3cctab002.luatex.tlg b/l3kernel/testfiles/m3cctab002.luatex.tlg
index 4fd38eeaf..e8e4873b0 100644
--- a/l3kernel/testfiles/m3cctab002.luatex.tlg
+++ b/l3kernel/testfiles/m3cctab002.luatex.tlg
@@ -41,3 +41,9 @@ TEST 4: Nested \cctab_begin:N
 \g__cctab_next_cctab=\catcodetable...
 \g__cctab_next_cctab=\catcodetable...
 ============================================================
+============================================================
+TEST 5: Nested groups
+============================================================
+\g__cctab_internalii_cctab=\catcodetable...
+\g__cctab_internaliii_cctab=\catcodetable...
+============================================================
diff --git a/l3kernel/testfiles/m3cctab002.lvt b/l3kernel/testfiles/m3cctab002.lvt
index f7a89cb59..52c562584 100644
--- a/l3kernel/testfiles/m3cctab002.lvt
+++ b/l3kernel/testfiles/m3cctab002.lvt
@@ -41,6 +41,17 @@
     \cctab_end:
   }
 
+\TEST { Nested~groups }
+  {
+    \cctab_select:N \c_code_cctab
+    \group_begin:
+      \cctab_select:N \c_code_cctab
+      \group_begin:
+        \cctab_select:N \c_code_cctab
+      \group_end:
+    \group_end:
+  }
+
 \ExplSyntaxOff
 
 \END
diff --git a/l3kernel/testfiles/m3cctab002.tlg b/l3kernel/testfiles/m3cctab002.tlg
index f9a19737b..213f3399a 100644
--- a/l3kernel/testfiles/m3cctab002.tlg
+++ b/l3kernel/testfiles/m3cctab002.tlg
@@ -36,3 +36,7 @@ command will be ignored.
 TEST 4: Nested \cctab_begin:N 
 ============================================================
 ============================================================
+============================================================
+TEST 5: Nested groups
+============================================================
+============================================================





More information about the latex3-commits mailing list.