[latex3-commits] [git/LaTeX3-latex3-latex3] clear-drop: Adjust test files (f943bb5)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Jan 18 20:48:49 CET 2019


Repository : https://github.com/latex3/latex3
On branch  : clear-drop
Link       : https://github.com/latex3/latex3/commit/f943bb5ffd1ceb823eb98ab3d47f03c2921a905e

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

commit f943bb5ffd1ceb823eb98ab3d47f03c2921a905e
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Jan 17 18:41:36 2019 +0000

    Adjust test files
    
    Grouping is needed to show that the functions here drop.


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

f943bb5ffd1ceb823eb98ab3d47f03c2921a905e
 l3kernel/testfiles/m3box001.lvt       |   18 ++++++++++++------
 l3kernel/testfiles/m3box001.ptex.tlg  |    8 ++++++++
 l3kernel/testfiles/m3box001.tlg       |    8 ++++++++
 l3kernel/testfiles/m3box001.uptex.tlg |    8 ++++++++
 l3kernel/testfiles/m3box002.lvt       |    8 ++++++--
 l3kernel/testfiles/m3box002.tlg       |    8 ++++++++
 l3kernel/testfiles/m3box003.lvt       |    8 ++++++--
 l3kernel/testfiles/m3box003.ptex.tlg  |    8 ++++++++
 l3kernel/testfiles/m3box003.tlg       |    8 ++++++++
 l3kernel/testfiles/m3box003.uptex.tlg |    8 ++++++++
 10 files changed, 80 insertions(+), 10 deletions(-)

diff --git a/l3kernel/testfiles/m3box001.lvt b/l3kernel/testfiles/m3box001.lvt
index b8e4c64..dc00342 100644
--- a/l3kernel/testfiles/m3box001.lvt
+++ b/l3kernel/testfiles/m3box001.lvt
@@ -126,9 +126,12 @@
   \hbox_set:Nn \l_h_box {a}
   \TIMO
   \box_set_eq:NN \l_tempa_box \l_h_box
-  \box_show:N \l_h_box                        % empty?
-  \box_set_eq_clear:NN \l_tempa_box \l_h_box
-  \box_show:N \l_h_box                        % now empty?
+  \box_show:N \l_h_box
+  \group_begin:
+    \box_set_eq_clear:NN \l_tempa_box \l_h_box
+    \box_show:N \l_h_box
+  \group_end:
+  \box_show:N \l_h_box
   \OMIT
   \hbox_set:Nn \l_h_box {b}
   \TIMO
@@ -153,9 +156,12 @@
   \hbox_set:Nn \l_h_box {a}
   \TIMO
   \box_gset_eq:NN \g_tempa_box \l_h_box
-  \box_show:N \l_h_box                         % empty?
-  \box_gset_eq_clear:NN \g_tempa_box \l_h_box
-  \box_show:N \l_h_box                         % now empty?
+  \box_show:N \l_h_box
+  \group_begin:
+    \box_gset_eq_clear:NN \g_tempa_box \l_h_box
+    \box_show:N \l_h_box
+  \group_end:
+  \box_show:N \l_h_box
   \OMIT
   \hbox_set:Nn \l_h_box {b}
   \TIMO
diff --git a/l3kernel/testfiles/m3box001.ptex.tlg b/l3kernel/testfiles/m3box001.ptex.tlg
index 15b6191..23594cc 100644
--- a/l3kernel/testfiles/m3box001.ptex.tlg
+++ b/l3kernel/testfiles/m3box001.ptex.tlg
@@ -118,6 +118,10 @@ l. ...}
 ! OK.
 <argument> \l_h_box 
 l. ...}
+> \box...=void
+! OK.
+<argument> \l_h_box 
+l. ...}
 > \box...=
 \hbox(4.30554+0.0)x5.00002
 .\OT1/cmr/m/n/10 a
@@ -156,6 +160,10 @@ l. ...}
 ! OK.
 <argument> \l_h_box 
 l. ...}
+> \box...=void
+! OK.
+<argument> \l_h_box 
+l. ...}
 > \box...=
 \hbox(4.30554+0.0)x5.00002
 .\OT1/cmr/m/n/10 a
diff --git a/l3kernel/testfiles/m3box001.tlg b/l3kernel/testfiles/m3box001.tlg
index c152802..198f9fd 100644
--- a/l3kernel/testfiles/m3box001.tlg
+++ b/l3kernel/testfiles/m3box001.tlg
@@ -118,6 +118,10 @@ l. ...}
 ! OK.
 <argument> \l_h_box 
 l. ...}
+> \box...=void
+! OK.
+<argument> \l_h_box 
+l. ...}
 > \box...=
 \hbox(4.30554+0.0)x5.00002
 .\OT1/cmr/m/n/10 a
@@ -156,6 +160,10 @@ l. ...}
 ! OK.
 <argument> \l_h_box 
 l. ...}
+> \box...=void
+! OK.
+<argument> \l_h_box 
+l. ...}
 > \box...=
 \hbox(4.30554+0.0)x5.00002
 .\OT1/cmr/m/n/10 a
diff --git a/l3kernel/testfiles/m3box001.uptex.tlg b/l3kernel/testfiles/m3box001.uptex.tlg
index 15b6191..23594cc 100644
--- a/l3kernel/testfiles/m3box001.uptex.tlg
+++ b/l3kernel/testfiles/m3box001.uptex.tlg
@@ -118,6 +118,10 @@ l. ...}
 ! OK.
 <argument> \l_h_box 
 l. ...}
+> \box...=void
+! OK.
+<argument> \l_h_box 
+l. ...}
 > \box...=
 \hbox(4.30554+0.0)x5.00002
 .\OT1/cmr/m/n/10 a
@@ -156,6 +160,10 @@ l. ...}
 ! OK.
 <argument> \l_h_box 
 l. ...}
+> \box...=void
+! OK.
+<argument> \l_h_box 
+l. ...}
 > \box...=
 \hbox(4.30554+0.0)x5.00002
 .\OT1/cmr/m/n/10 a
diff --git a/l3kernel/testfiles/m3box002.lvt b/l3kernel/testfiles/m3box002.lvt
index 48add4b..f3af37b 100644
--- a/l3kernel/testfiles/m3box002.lvt
+++ b/l3kernel/testfiles/m3box002.lvt
@@ -69,8 +69,12 @@
   \hbox_unpack:c {l_tempb_box}
   \box_show:N \l_tempa_box
   \box_show:N \l_tempb_box
-  \hbox_unpack_clear:N \l_tempa_box
-  \hbox_unpack_clear:c {l_tempb_box}
+  \group_begin:
+    \hbox_unpack_clear:N \l_tempa_box
+    \hbox_unpack_clear:c {l_tempb_box}
+    \box_show:N \l_tempa_box
+    \box_show:N \l_tempb_box
+  \group_end:
   \box_show:N \l_tempa_box
   \box_show:N \l_tempb_box
 }
diff --git a/l3kernel/testfiles/m3box002.tlg b/l3kernel/testfiles/m3box002.tlg
index 7448667..035fdb0 100644
--- a/l3kernel/testfiles/m3box002.tlg
+++ b/l3kernel/testfiles/m3box002.tlg
@@ -120,4 +120,12 @@ l. ...}
 ! OK.
 <argument> \l_tempb_box 
 l. ...}
+> \box...=void
+! OK.
+<argument> \l_tempa_box 
+l. ...}
+> \box...=void
+! OK.
+<argument> \l_tempb_box 
+l. ...}
 ============================================================
diff --git a/l3kernel/testfiles/m3box003.lvt b/l3kernel/testfiles/m3box003.lvt
index f7ac444..11c8b7b 100644
--- a/l3kernel/testfiles/m3box003.lvt
+++ b/l3kernel/testfiles/m3box003.lvt
@@ -76,8 +76,12 @@
   \vbox_unpack:c {l_tempb_box}
   \box_show:N \l_tempa_box
   \box_show:N \l_tempb_box
-  \vbox_unpack_clear:N \l_tempa_box
-  \vbox_unpack_clear:c {l_tempb_box}
+  \group_begin:
+    \vbox_unpack_clear:N \l_tempa_box
+    \vbox_unpack_clear:c {l_tempb_box}
+    \box_show:N \l_tempa_box
+    \box_show:N \l_tempb_box
+  \group_end:
   \box_show:N \l_tempa_box
   \box_show:N \l_tempb_box
 }
diff --git a/l3kernel/testfiles/m3box003.ptex.tlg b/l3kernel/testfiles/m3box003.ptex.tlg
index 971ff4c..9e4ea97 100644
--- a/l3kernel/testfiles/m3box003.ptex.tlg
+++ b/l3kernel/testfiles/m3box003.ptex.tlg
@@ -232,6 +232,14 @@ l. ...}
 ! OK.
 <argument> \l_tempb_box 
 l. ...}
+> \box...=void
+! OK.
+<argument> \l_tempa_box 
+l. ...}
+> \box...=void
+! OK.
+<argument> \l_tempb_box 
+l. ...}
 ============================================================
 ============================================================
 TEST 8: Directly make a top box
diff --git a/l3kernel/testfiles/m3box003.tlg b/l3kernel/testfiles/m3box003.tlg
index 8cd16fd..178bcc7 100644
--- a/l3kernel/testfiles/m3box003.tlg
+++ b/l3kernel/testfiles/m3box003.tlg
@@ -227,6 +227,14 @@ l. ...}
 ! OK.
 <argument> \l_tempb_box 
 l. ...}
+> \box...=void
+! OK.
+<argument> \l_tempa_box 
+l. ...}
+> \box...=void
+! OK.
+<argument> \l_tempb_box 
+l. ...}
 ============================================================
 ============================================================
 TEST 8: Directly make a top box
diff --git a/l3kernel/testfiles/m3box003.uptex.tlg b/l3kernel/testfiles/m3box003.uptex.tlg
index 971ff4c..9e4ea97 100644
--- a/l3kernel/testfiles/m3box003.uptex.tlg
+++ b/l3kernel/testfiles/m3box003.uptex.tlg
@@ -232,6 +232,14 @@ l. ...}
 ! OK.
 <argument> \l_tempb_box 
 l. ...}
+> \box...=void
+! OK.
+<argument> \l_tempa_box 
+l. ...}
+> \box...=void
+! OK.
+<argument> \l_tempb_box 
+l. ...}
 ============================================================
 ============================================================
 TEST 8: Directly make a top box





More information about the latex3-commits mailing list