[latex3-commits] [latex3/latex3] main: Clean up and format l3bitset tests (3502ce142)

github at latex-project.org github at latex-project.org
Mon Dec 11 19:04:33 CET 2023


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/3502ce14226ae2e0efd6643dc0edb48559a7f735

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

commit 3502ce14226ae2e0efd6643dc0edb48559a7f735
Author: Yukai Chou <muzimuzhi at gmail.com>
Date:   Tue Dec 12 00:53:44 2023 +0800

    Clean up and format l3bitset tests


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

3502ce14226ae2e0efd6643dc0edb48559a7f735
 l3kernel/testfiles/m3bitset001.lvt | 367 ++++++++++++++++++-------------------
 l3kernel/testfiles/m3bitset001.tlg |  92 +++++-----
 l3kernel/testfiles/m3bitset002.lvt |  94 +++++-----
 l3kernel/testfiles/m3bitset002.tlg |   4 +-
 4 files changed, 276 insertions(+), 281 deletions(-)

diff --git a/l3kernel/testfiles/m3bitset001.lvt b/l3kernel/testfiles/m3bitset001.lvt
index 91cab44a3..72b66aad0 100644
--- a/l3kernel/testfiles/m3bitset001.lvt
+++ b/l3kernel/testfiles/m3bitset001.lvt
@@ -10,53 +10,53 @@
 \bitset_new:N  \l_my_test_bitset
 \bitset_new:N  \g_my_test_bitset
 \TIMO
-\TEST{show~init}
- {
-   \bitset_show:N \l_my_test_bitset
-   \bitset_show:N \g_my_test_bitset
- }
-
-
-\TESTEXP{show~export~empty}
- {
-   \bitset_to_bin:N \l_my_test_bitset
-   \NEWLINE
-   \bitset_to_arabic:N \l_my_test_bitset
- }
-
-\TESTEXP{show~export~empty~global}
- {
-   \bitset_to_bin:N    \g_my_test_bitset
-   \NEWLINE
-   \bitset_to_arabic:N \g_my_test_bitset
- }
+
+\TEST { show~init }
+  {
+    \bitset_show:N \l_my_test_bitset
+    \bitset_show:N \g_my_test_bitset
+  }
+
+\TESTEXP { show~export~empty }
+  {
+    \bitset_to_bin:N \l_my_test_bitset
+    \NEWLINE
+    \bitset_to_arabic:N \l_my_test_bitset
+  }
+
+\TESTEXP { show~export~empty~global }
+  {
+    \bitset_to_bin:N    \g_my_test_bitset
+    \NEWLINE
+    \bitset_to_arabic:N \g_my_test_bitset
+  }
 
 \OMIT
 \bitset_set_true:Nn \l_my_test_bitset{1}
 \bitset_gset_true:Nn \g_my_test_bitset{1}
 \TIMO
 
-\TEST{set~index~1}
- {
-   \bitset_show:N \l_my_test_bitset
- }
+\TEST { set~index~1 }
+  {
+    \bitset_show:N \l_my_test_bitset
+  }
 
-\TEST{set~index~1~global}
- {
-   \bitset_show:N \g_my_test_bitset
- }
+\TEST { set~index~1~global }
+  {
+    \bitset_show:N \g_my_test_bitset
+  }
 
-\TEST{set~negative~index}
- {
-   \bitset_set_true:Nn \l_my_test_bitset{-2}
-   \bitset_show:N \l_my_test_bitset
- }
+\TEST { set~negative~index }
+  {
+    \bitset_set_true:Nn \l_my_test_bitset {-2}
+    \bitset_show:N \l_my_test_bitset
+  }
 
-\TEST{set~negative~index~global}
- {
-   \bitset_gset_true:Nn \g_my_test_bitset{-2}
-   \bitset_show:N \g_my_test_bitset
- }
+\TEST { set~negative~index~global }
+  {
+    \bitset_gset_true:Nn \g_my_test_bitset {-2}
+    \bitset_show:N \g_my_test_bitset
+  }
 
 \OMIT
 \bitset_set_true:Nn   \l_my_test_bitset {3}
@@ -69,193 +69,190 @@
 \bitset_gset_true:Nn   \g_my_test_bitset {9}
 \TIMO
 
-\TESTEXP{show~small-index}
- {
-   \bitset_to_bin:N \l_my_test_bitset\NEWLINE
-   \bitset_item:Nn \l_my_test_bitset {-1}\NEWLINE
-   \bitset_item:Nn \l_my_test_bitset {0}\NEWLINE
-   \bitset_item:Nn \l_my_test_bitset {1}
- }
-
-\TESTEXP{show~small-index-global}
- {
-   \bitset_to_bin:N \g_my_test_bitset\NEWLINE
-   \bitset_item:Nn \g_my_test_bitset {-1}\NEWLINE
-   \bitset_item:Nn \g_my_test_bitset {0}\NEWLINE
-   \bitset_item:Nn \g_my_test_bitset {1}
- }
-
-\TESTEXP{show~export}
- {
-   \bitset_to_bin:N \l_my_test_bitset
-   \NEWLINE
-   \bitset_to_arabic:N \l_my_test_bitset
- }
-
-\TESTEXP{show~export~global}
- {
-   \bitset_to_bin:N \g_my_test_bitset
-   \NEWLINE
-   \bitset_to_arabic:N \g_my_test_bitset
- }
+\TESTEXP { show~small-index }
+  {
+    \bitset_to_bin:N \l_my_test_bitset \NEWLINE
+    \bitset_item:Nn \l_my_test_bitset {-1} \NEWLINE
+    \bitset_item:Nn \l_my_test_bitset {0} \NEWLINE
+    \bitset_item:Nn \l_my_test_bitset {1}
+  }
+
+\TESTEXP { show~small-index-global }
+  {
+    \bitset_to_bin:N \g_my_test_bitset \NEWLINE
+    \bitset_item:Nn \g_my_test_bitset {-1} \NEWLINE
+    \bitset_item:Nn \g_my_test_bitset {0} \NEWLINE
+    \bitset_item:Nn \g_my_test_bitset {1}
+  }
+
+\TESTEXP { show~export }
+  {
+    \bitset_to_bin:N \l_my_test_bitset
+    \NEWLINE
+    \bitset_to_arabic:N \l_my_test_bitset
+  }
+
+\TESTEXP { show~export~global }
+  {
+    \bitset_to_bin:N \g_my_test_bitset
+    \NEWLINE
+    \bitset_to_arabic:N \g_my_test_bitset
+  }
 
 \OMIT
 \bitset_set_true:Nn   \l_my_test_bitset {41}
 \bitset_gset_true:Nn   \g_my_test_bitset {41}
 \TIMO
 
-\TESTEXP{show~large~index}
- {
-   \bitset_to_bin:N \l_my_test_bitset
-   \NEWLINE
-   \bitset_item:Nn \l_my_test_bitset {42}
-   \NEWLINE
-   \bitset_item:Nn \l_my_test_bitset {41}
-   \NEWLINE
-   \bitset_item:Nn \l_my_test_bitset {40}
-   \NEWLINE
- }
-
-\TESTEXP{show~large~index~global}
- {
-   \bitset_to_bin:N \g_my_test_bitset
-   \NEWLINE
-   \bitset_item:Nn \g_my_test_bitset {42}
-   \NEWLINE
-   \bitset_item:Nn \g_my_test_bitset {41}
-   \NEWLINE
-   \bitset_item:Nn \g_my_test_bitset {40}
-   \NEWLINE
- }
-
-\TESTEXP{show~index~8}
- {
-   \bitset_item:Nn \l_my_test_bitset {8}
- }
-
-\TESTEXP{show~index~8~global}
- {
-   \bitset_item:Nn \g_my_test_bitset {8}
- }
+\TESTEXP { show~large~index }
+  {
+    \bitset_to_bin:N \l_my_test_bitset
+    \NEWLINE
+    \bitset_item:Nn \l_my_test_bitset {42}
+    \NEWLINE
+    \bitset_item:Nn \l_my_test_bitset {41}
+    \NEWLINE
+    \bitset_item:Nn \l_my_test_bitset {40}
+  }
+
+\TESTEXP { show~large~index~global }
+  {
+    \bitset_to_bin:N \g_my_test_bitset
+    \NEWLINE
+    \bitset_item:Nn \g_my_test_bitset {42}
+    \NEWLINE
+    \bitset_item:Nn \g_my_test_bitset {41}
+    \NEWLINE
+    \bitset_item:Nn \g_my_test_bitset {40}
+  }
+
+\TESTEXP { show~index~8 }
+  {
+    \bitset_item:Nn \l_my_test_bitset {8}
+  }
+
+\TESTEXP { show~index~8~global }
+  {
+    \bitset_item:Nn \g_my_test_bitset {8}
+  }
 
 \OMIT
 \exp_args:NNe \bitset_set_true:Nn   \l_my_test_bitset {\int_eval:n{2+2+8-4}}
 \exp_args:NNe\bitset_gset_true:Nn   \g_my_test_bitset {\int_eval:n{2+2+8-4}}
 \TIMO
 
-\TESTEXP{add~index~8~with~sum}
- {
-   \bitset_to_bin:N \l_my_test_bitset
-   \NEWLINE
-   \bitset_to_arabic:N \l_my_test_bitset
-   \NEWLINE
-   \bitset_item:Nn \l_my_test_bitset {8}
- }
-
-\TESTEXP{add~index~8~with~sum~global}
- {
-   \bitset_to_bin:N \g_my_test_bitset
-   \NEWLINE
-   \bitset_to_arabic:N \g_my_test_bitset
-   \NEWLINE
-   \bitset_item:Nn \g_my_test_bitset {8}
- }
+\TESTEXP { add~index~8~with~sum }
+  {
+    \bitset_to_bin:N \l_my_test_bitset
+    \NEWLINE
+    \bitset_to_arabic:N \l_my_test_bitset
+    \NEWLINE
+    \bitset_item:Nn \l_my_test_bitset {8}
+  }
+
+\TESTEXP { add~index~8~with~sum~global }
+  {
+    \bitset_to_bin:N \g_my_test_bitset
+    \NEWLINE
+    \bitset_to_arabic:N \g_my_test_bitset
+    \NEWLINE
+    \bitset_item:Nn \g_my_test_bitset {8}
+  }
 
 
 \OMIT
-\exp_args:NNe\bitset_set_true:Nn   \l_my_test_bitset { \int_max:nn{4}{15} }
-\exp_args:NNe\bitset_gset_true:Nn   \g_my_test_bitset { \int_max:nn{4}{15} }
+\exp_args:NNe \bitset_set_true:Nn   \l_my_test_bitset { \int_max:nn {4} {15} }
+\exp_args:NNe \bitset_gset_true:Nn   \g_my_test_bitset { \int_max:nn {4} {15} }
 \TIMO
 
-\TESTEXP{add~index~15~with~max-function}
- {
-   \bitset_to_bin:N \l_my_test_bitset
-   \NEWLINE
-   \bitset_to_arabic:N \l_my_test_bitset
-   \NEWLINE
-   \bitset_item:Nn \l_my_test_bitset {15}
- }
-
-\TESTEXP{add~index~15~with~max-function}
- {
-   \bitset_to_bin:N \g_my_test_bitset
-   \NEWLINE
-   \bitset_to_arabic:N \g_my_test_bitset
-   \NEWLINE
-   \bitset_item:Nn \g_my_test_bitset {15}
- }
+\TESTEXP { add~index~15~with~max-function }
+  {
+    \bitset_to_bin:N \l_my_test_bitset
+    \NEWLINE
+    \bitset_to_arabic:N \l_my_test_bitset
+    \NEWLINE
+    \bitset_item:Nn \l_my_test_bitset {15}
+  }
+
+\TESTEXP { add~index~15~with~max-function }
+  {
+    \bitset_to_bin:N \g_my_test_bitset
+    \NEWLINE
+    \bitset_to_arabic:N \g_my_test_bitset
+    \NEWLINE
+    \bitset_item:Nn \g_my_test_bitset {15}
+  }
 
 \OMIT
 \bitset_set_false:Nn   \l_my_test_bitset { 41 }
 \bitset_gset_false:Nn   \g_my_test_bitset { 41 }
 \TIMO
 
-\TESTEXP{remove~index~41}
- {
-   \bitset_to_bin:N \l_my_test_bitset
-   \NEWLINE
-   \bitset_to_arabic:N \l_my_test_bitset
-   \NEWLINE
-   \bitset_item:Nn \l_my_test_bitset {41}
- }
-
-\TESTEXP{remove~index~41~global}
- {
-   \bitset_to_bin:N \g_my_test_bitset
-   \NEWLINE
-   \bitset_to_arabic:N \g_my_test_bitset
-   \NEWLINE
-   \bitset_item:Nn \g_my_test_bitset {41}
- }
+\TESTEXP { remove~index~41 }
+  {
+    \bitset_to_bin:N \l_my_test_bitset
+    \NEWLINE
+    \bitset_to_arabic:N \l_my_test_bitset
+    \NEWLINE
+    \bitset_item:Nn \l_my_test_bitset {41}
+  }
+
+\TESTEXP { remove~index~41~global }
+  {
+    \bitset_to_bin:N \g_my_test_bitset
+    \NEWLINE
+    \bitset_to_arabic:N \g_my_test_bitset
+    \NEWLINE
+    \bitset_item:Nn \g_my_test_bitset {41}
+  }
 
 
 \OMIT
-\exp_args:NNe\bitset_set_false:Nn   \l_my_test_bitset { \int_eval:n{-1+2+3+6+5} }
-\exp_args:NNe\bitset_gset_false:Nn   \g_my_test_bitset {\int_eval:n{ -1+2+3+6+5} }
+\exp_args:NNe \bitset_set_false:Nn   \l_my_test_bitset { \int_eval:n { -1+2+3+6+5 } }
+\exp_args:NNe \bitset_gset_false:Nn   \g_my_test_bitset { \int_eval:n { -1+2+3+6+5 } }
 \TIMO
 
-\TESTEXP{remove~index~15~with~sum}
- {
-   \bitset_to_bin:N \l_my_test_bitset
-   \NEWLINE
-   \bitset_to_arabic:N \l_my_test_bitset
-   \NEWLINE
-   \bitset_item:Nn \l_my_test_bitset {15}
- }
-
-\TESTEXP{remove~index~15~with~sum~global}
- {
-   \bitset_to_bin:N \g_my_test_bitset
-   \NEWLINE
-   \bitset_to_arabic:N \g_my_test_bitset
-   \NEWLINE
-   \bitset_item:Nn \g_my_test_bitset {15}
- }
+\TESTEXP { remove~index~15~with~sum }
+  {
+    \bitset_to_bin:N \l_my_test_bitset
+    \NEWLINE
+    \bitset_to_arabic:N \l_my_test_bitset
+    \NEWLINE
+    \bitset_item:Nn \l_my_test_bitset {15}
+  }
+
+\TESTEXP { remove~index~15~with~sum~global }
+  {
+    \bitset_to_bin:N \g_my_test_bitset
+    \NEWLINE
+    \bitset_to_arabic:N \g_my_test_bitset
+    \NEWLINE
+    \bitset_item:Nn \g_my_test_bitset {15}
+  }
 
 \OMIT
 \bitset_new:N \l_my_testb_bitset
 \TIMO
 
-\TEST{to~arabic}
- {
-   \int_step_inline:nn {40}
-     {
-       \bitset_show:N \l_my_testb_bitset
-       \exp_args:NNe\bitset_set_false:Nn \l_my_testb_bitset {\int_eval:n{#1-1}}
-       \bitset_set_true:Nn \l_my_testb_bitset {#1}
-     }
- }
+\TEST { to~arabic }
+  {
+    \int_step_inline:nn {40}
+      {
+        \bitset_show:N \l_my_testb_bitset
+        \exp_args:NNe \bitset_set_false:Nn \l_my_testb_bitset { \int_eval:n {#1-1} }
+        \bitset_set_true:Nn \l_my_testb_bitset {#1}
+      }
+  }
 
 \OMIT
 \bitset_clear:N \l_my_test_bitset
 \bitset_gclear:N \g_my_test_bitset
 \TIMO
 
-\TEST {clear}
+\TEST { clear }
   {
-     \bitset_show:N \l_my_test_bitset
-     \NEWLINE
-     \bitset_show:N \g_my_test_bitset
+    \bitset_show:N \l_my_test_bitset
+    \bitset_show:N \g_my_test_bitset
   }
 
 
diff --git a/l3kernel/testfiles/m3bitset001.tlg b/l3kernel/testfiles/m3bitset001.tlg
index 7cfa39a91..c1066385f 100644
--- a/l3kernel/testfiles/m3bitset001.tlg
+++ b/l3kernel/testfiles/m3bitset001.tlg
@@ -7,12 +7,12 @@ The bitset \l_my_test_bitset has the representation:
 > binary: 0
 > arabic: 0.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \g_my_test_bitset has the representation:
 > binary: 0
 > arabic: 0.
 <recently read> }
-l. ... }
+l. ...  }
 ============================================================
 ============================================================
 TEST 2: show export empty
@@ -33,7 +33,7 @@ The bitset \l_my_test_bitset has the representation:
 > binary: 1
 > arabic: 1.
 <recently read> }
-l. ... }
+l. ...  }
 ============================================================
 ============================================================
 TEST 5: set index 1 global
@@ -42,7 +42,7 @@ The bitset \g_my_test_bitset has the representation:
 > binary: 1
 > arabic: 1.
 <recently read> }
-l. ... }
+l. ...  }
 ============================================================
 ============================================================
 TEST 6: set negative index
@@ -52,7 +52,7 @@ The bitset \l_my_test_bitset has the representation:
 > binary: 1
 > arabic: 1.
 <recently read> }
-l. ... }
+l. ...  }
 ============================================================
 ============================================================
 TEST 7: set negative index global
@@ -62,7 +62,7 @@ The bitset \g_my_test_bitset has the representation:
 > binary: 1
 > arabic: 1.
 <recently read> }
-l. ... }
+l. ...  }
 ============================================================
 ============================================================
 TEST 8: show small-index
@@ -181,203 +181,203 @@ The bitset \l_my_testb_bitset has the representation:
 > binary: 0
 > arabic: 0.
 <recently read> }
-l. ... }
+l. ...  }
 LaTeX Warning: The name '0' is unknown for bitset \l_my_testb_bitset
 The bitset \l_my_testb_bitset has the representation:
 > binary: 1
 > arabic: 1.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 10
 > arabic: 2.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 100
 > arabic: 4.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 1000
 > arabic: 8.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 10000
 > arabic: 16.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 100000
 > arabic: 32.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 1000000
 > arabic: 64.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 10000000
 > arabic: 128.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 100000000
 > arabic: 256.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 1000000000
 > arabic: 512.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 10000000000
 > arabic: 1024.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 100000000000
 > arabic: 2048.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 1000000000000
 > arabic: 4096.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 10000000000000
 > arabic: 8192.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 100000000000000
 > arabic: 16384.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 1000000000000000
 > arabic: 32768.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 10000000000000000
 > arabic: 65536.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 100000000000000000
 > arabic: 131072.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 1000000000000000000
 > arabic: 262144.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 10000000000000000000
 > arabic: 524288.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 100000000000000000000
 > arabic: 1048576.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 1000000000000000000000
 > arabic: 2097152.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 10000000000000000000000
 > arabic: 4194304.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 100000000000000000000000
 > arabic: 8388608.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 1000000000000000000000000
 > arabic: 16777216.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 10000000000000000000000000
 > arabic: 33554432.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 100000000000000000000000000
 > arabic: 67108864.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 1000000000000000000000000000
 > arabic: 134217728.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 10000000000000000000000000000
 > arabic: 268435456.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 100000000000000000000000000000
 > arabic: 536870912.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 1000000000000000000000000000000
 > arabic: 1073741824.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 10000000000000000000000000000000
 > arabic: 2147483648.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 100000000000000000000000000000000
 > arabic: 4294967296.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 1000000000000000000000000000000000
 > arabic: 8589934592.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 10000000000000000000000000000000000
 > arabic: 17179869184.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 100000000000000000000000000000000000
 > arabic: 34359738368.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 1000000000000000000000000000000000000
 > arabic: 68719476736.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 10000000000000000000000000000000000000
 > arabic: 137438953472.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \l_my_testb_bitset has the representation:
 > binary: 100000000000000000000000000000000000000
 > arabic: 274877906944.
 <recently read> }
-l. ... }
+l. ...  }
 ============================================================
 ============================================================
 TEST 25: clear
diff --git a/l3kernel/testfiles/m3bitset002.lvt b/l3kernel/testfiles/m3bitset002.lvt
index 28b46d0b5..43835af5f 100644
--- a/l3kernel/testfiles/m3bitset002.lvt
+++ b/l3kernel/testfiles/m3bitset002.lvt
@@ -8,7 +8,6 @@
 \START
 \OMIT
 \bitset_new:N \l_my_test_bitset
-
 \bitset_addto_named_index:Nn \l_my_test_bitset
   {
     Invisible      = 1,
@@ -22,8 +21,8 @@
     ToggleNoView   = 9,
     LockedContents = 10
   }
-\bitset_new:N \g_my_test_bitset
 
+\bitset_new:N \g_my_test_bitset
 \bitset_addto_named_index:Nn \g_my_test_bitset
   {
     gInvisible      = 1,
@@ -39,12 +38,12 @@
   }
 \TIMO
 
-\TESTEXP { unset~key}
- {
-   \bitset_item:Nn \l_my_test_bitset {Invisible}
-   \NEWLINE
-   \bitset_item:Nn \g_my_test_bitset {gInvisible}
- }
+\TESTEXP { unset~key }
+  {
+    \bitset_item:Nn \l_my_test_bitset {Invisible}
+    \NEWLINE
+    \bitset_item:Nn \g_my_test_bitset {gInvisible}
+  }
 
 \OMIT
 \bitset_set_true:Nn \l_my_test_bitset{Invisible}
@@ -52,27 +51,26 @@
 \TIMO
 
 \TESTEXP { set~Invisible~(index~1) }
- {
-   \bitset_to_bin:N \l_my_test_bitset
-   \NEWLINE
-   \bitset_item:Nn \l_my_test_bitset {Invisible}
-   \NEWLINE
-   \bitset_to_bin:N \g_my_test_bitset
-   \NEWLINE
-   \bitset_item:Nn \g_my_test_bitset {gInvisible}
-   \NEWLINE
- }
+  {
+    \bitset_to_bin:N \l_my_test_bitset
+    \NEWLINE
+    \bitset_item:Nn \l_my_test_bitset {Invisible}
+    \NEWLINE
+    \bitset_to_bin:N \g_my_test_bitset
+    \NEWLINE
+    \bitset_item:Nn \g_my_test_bitset {gInvisible}
+  }
 
-\TEST { set~unknown~key}
- {
-   \bitset_set_true:Nn \l_my_test_bitset{unknown}
-   \NEWLINE
-   \bitset_gset_true:Nn \g_my_test_bitset{unknown}
-   \NEWLINE
-   \bitset_show:N \l_my_test_bitset
-   \NEWLINE
-   \bitset_show:N \g_my_test_bitset
- }
+\TEST { set~unknown~key }
+  {
+    \bitset_set_true:Nn \l_my_test_bitset{unknown}
+    \NEWLINE
+    \bitset_gset_true:Nn \g_my_test_bitset{unknown}
+    \NEWLINE
+    \bitset_show:N \l_my_test_bitset
+    \NEWLINE
+    \bitset_show:N \g_my_test_bitset
+  }
 
 \OMIT
 \bitset_set_true:Nn   \l_my_test_bitset {Print}
@@ -85,16 +83,16 @@
 \bitset_gset_true:Nn   \g_my_test_bitset {gToggleNoView}
 \TIMO
 
-\TESTEXP {set~3,~4,~5,~6}
- {
-  \bitset_to_bin:N     \l_my_test_bitset
-  \NEWLINE
-  \bitset_to_arabic:N  \l_my_test_bitset
-  \NEWLINE
-  \bitset_to_bin:N     \g_my_test_bitset
-  \NEWLINE
-  \bitset_to_arabic:N  \g_my_test_bitset
- }
+\TESTEXP { set~3,~4,~5,~6 }
+  {
+    \bitset_to_bin:N     \l_my_test_bitset
+    \NEWLINE
+    \bitset_to_arabic:N  \l_my_test_bitset
+    \NEWLINE
+    \bitset_to_bin:N     \g_my_test_bitset
+    \NEWLINE
+    \bitset_to_arabic:N  \g_my_test_bitset
+  }
 
 \OMIT
 \bitset_set_false:Nn   \l_my_test_bitset {Print}
@@ -108,16 +106,16 @@
 \TIMO
 
 
-\TESTEXP {unset~3,~4,~5,~6}
- {
-  \bitset_to_bin:N     \l_my_test_bitset
-  \NEWLINE
-  \bitset_to_arabic:N  \l_my_test_bitset
-  \NEWLINE
-  \bitset_to_bin:N     \g_my_test_bitset
-  \NEWLINE
-  \bitset_to_arabic:N  \g_my_test_bitset
- }
+\TESTEXP { unset~3,~4,~5,~6 }
+  {
+    \bitset_to_bin:N     \l_my_test_bitset
+    \NEWLINE
+    \bitset_to_arabic:N  \l_my_test_bitset
+    \NEWLINE
+    \bitset_to_bin:N     \g_my_test_bitset
+    \NEWLINE
+    \bitset_to_arabic:N  \g_my_test_bitset
+  }
 
 \ExplSyntaxOff
 \END
diff --git a/l3kernel/testfiles/m3bitset002.tlg b/l3kernel/testfiles/m3bitset002.tlg
index df2cdfacd..b329e69cd 100644
--- a/l3kernel/testfiles/m3bitset002.tlg
+++ b/l3kernel/testfiles/m3bitset002.tlg
@@ -23,12 +23,12 @@ The bitset \l_my_test_bitset has the representation:
 > binary: 1
 > arabic: 1.
 <recently read> }
-l. ... }
+l. ...  }
 The bitset \g_my_test_bitset has the representation:
 > binary: 1
 > arabic: 1.
 <recently read> }
-l. ... }
+l. ...  }
 ============================================================
 ============================================================
 TEST 4: set 3, 4, 5, 6





More information about the latex3-commits mailing list.