[latex3-commits] [git/LaTeX3-latex3-latex3] seq_set_map: Update test files (cbfde617a)

PhelypeOleinik tex.phelype at gmail.com
Thu Jul 16 15:16:20 CEST 2020


Repository : https://github.com/latex3/latex3
On branch  : seq_set_map
Link       : https://github.com/latex3/latex3/commit/cbfde617a592370cbf87533b11eeee6860c7c361

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

commit cbfde617a592370cbf87533b11eeee6860c7c361
Author: PhelypeOleinik <tex.phelype at gmail.com>
Date:   Thu Jul 16 10:16:20 2020 -0300

    Update test files


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

cbfde617a592370cbf87533b11eeee6860c7c361
 l3kernel/testfiles/m3seq004.lvt |  3 ++-
 l3kernel/testfiles/m3seq004.tlg | 13 +++++++++----
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/l3kernel/testfiles/m3seq004.lvt b/l3kernel/testfiles/m3seq004.lvt
index 4ff3b0898..8d9193e25 100644
--- a/l3kernel/testfiles/m3seq004.lvt
+++ b/l3kernel/testfiles/m3seq004.lvt
@@ -73,7 +73,8 @@
           { \tl_if_head_eq_meaning_p:nN {#1} a }
           { \int_compare_p:n { #1 < 2 } }
     }
-  \seq_set_map:NNn \l_my_seq \l_my_seq { \int_eval:n { #1 * #1 } }
+  \seq_set_map_x:NNn \l_my_seq \l_my_seq { \int_eval:n { #1 * #1 } }
+  \seq_log:N \l_my_seq
   \seq_set_map:NNn \l_my_seq \l_my_seq { \exp_not:c {#1} }
   \seq_log:N \l_my_seq
 }
diff --git a/l3kernel/testfiles/m3seq004.tlg b/l3kernel/testfiles/m3seq004.tlg
index b7526e373..a0dab4fc6 100644
--- a/l3kernel/testfiles/m3seq004.tlg
+++ b/l3kernel/testfiles/m3seq004.tlg
@@ -71,8 +71,13 @@ The sequence \l_my_seq contains the items (without outer braces):
 TEST 3: seq_set_(filter|map):NNn
 ============================================================
 The sequence \l_my_seq contains the items (without outer braces):
->  {\4}
->  {\1156 }
->  {\16 }
->  {\25 }.
+>  {4}
+>  {1156}
+>  {16}
+>  {25}.
+The sequence \l_my_seq contains the items (without outer braces):
+>  {\exp_not:c {4}}
+>  {\exp_not:c {1156}}
+>  {\exp_not:c {16}}
+>  {\exp_not:c {25}}.
 ============================================================





More information about the latex3-commits mailing list.