[latex3-commits] [git/LaTeX3-latex3-latex3] key-digest: Adjust places key implementation shows (a56a41f41)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Feb 28 10:41:23 CET 2022


Repository : https://github.com/latex3/latex3
On branch  : key-digest
Link       : https://github.com/latex3/latex3/commit/a56a41f417eb704d3f6b7ef644170b7eeb785078

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

commit a56a41f417eb704d3f6b7ef644170b7eeb785078
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Feb 28 09:41:19 2022 +0000

    Adjust places key implementation shows


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

a56a41f417eb704d3f6b7ef644170b7eeb785078
 l3kernel/testfiles/m3keys004.tlg        | 6 ++++--
 l3kernel/testfiles/m3show002.luatex.tlg | 6 ++++--
 l3kernel/testfiles/m3show002.tlg        | 6 ++++--
 l3kernel/testfiles/m3show003.tlg        | 6 ++++--
 4 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/l3kernel/testfiles/m3keys004.tlg b/l3kernel/testfiles/m3keys004.tlg
index ab1a45c19..7e72fdebc 100644
--- a/l3kernel/testfiles/m3keys004.tlg
+++ b/l3kernel/testfiles/m3keys004.tlg
@@ -187,11 +187,13 @@ FALSE
 TEST 11: \keys_show:nn 
 ============================================================
 The key module/key-one has the properties:
->  code  =>  \TYPE {"#1"}.
+>  code  =>  \bool_if:NTF \l__keys_digest_bool {\tl_put_right:Nn
+\l__keys_digest_tl }{\use:n }{\TYPE {"#1"}}.
 <recently read> }
 l. ...  }
 The key module/key-two has the properties:
->  code  =>  \tl_set:Nn \l_tmpa_tl {#1}.
+>  code  =>  \bool_if:NTF \l__keys_digest_bool {\tl_put_right:Nn
+\l__keys_digest_tl }{\use:n }{\tl_set:Nn \l_tmpa_tl {#1}}.
 <recently read> }
 l. ...  }
 The key module/key-three is undefined.
diff --git a/l3kernel/testfiles/m3show002.luatex.tlg b/l3kernel/testfiles/m3show002.luatex.tlg
index 50d79103b..91edd50bd 100644
--- a/l3kernel/testfiles/m3show002.luatex.tlg
+++ b/l3kernel/testfiles/m3show002.luatex.tlg
@@ -177,9 +177,11 @@ l. ...  }
 TEST 7: KEYS
 ============================================================
 The key test/text has the properties:
->  code  =>  \tl_set:Nn \l_tmpa_tl {#1}.
+>  code  =>  \bool_if:NTF \l__keys_digest_bool {\tl_put_right:Nn
+\l__keys_digest_tl }{\use:n }{\tl_set:Nn \l_tmpa_tl {#1}}.
 The key test/expanded has the properties:
->  code  =>  \tl_gset:Nx \l_tmpb_tl {#1}.
+>  code  =>  \bool_if:NTF \l__keys_digest_bool {\tl_put_right:Nn
+\l__keys_digest_tl }{\use:n }{\tl_gset:Nx \l_tmpb_tl {#1}}.
 ============================================================
 ============================================================
 TEST 8: CHAR
diff --git a/l3kernel/testfiles/m3show002.tlg b/l3kernel/testfiles/m3show002.tlg
index 3c217bc1d..ea37f9307 100644
--- a/l3kernel/testfiles/m3show002.tlg
+++ b/l3kernel/testfiles/m3show002.tlg
@@ -177,9 +177,11 @@ l. ...  }
 TEST 7: KEYS
 ============================================================
 The key test/text has the properties:
->  code  =>  \tl_set:Nn \l_tmpa_tl {#1}.
+>  code  =>  \bool_if:NTF \l__keys_digest_bool {\tl_put_right:Nn
+\l__keys_digest_tl }{\use:n }{\tl_set:Nn \l_tmpa_tl {#1}}.
 The key test/expanded has the properties:
->  code  =>  \tl_gset:Nx \l_tmpb_tl {#1}.
+>  code  =>  \bool_if:NTF \l__keys_digest_bool {\tl_put_right:Nn
+\l__keys_digest_tl }{\use:n }{\tl_gset:Nx \l_tmpb_tl {#1}}.
 ============================================================
 ============================================================
 TEST 8: CHAR
diff --git a/l3kernel/testfiles/m3show003.tlg b/l3kernel/testfiles/m3show003.tlg
index 36e5ffab2..3a5764da6 100644
--- a/l3kernel/testfiles/m3show003.tlg
+++ b/l3kernel/testfiles/m3show003.tlg
@@ -156,9 +156,11 @@ The following output streams are in use:
 TEST 9: keys
 ============================================================
 The key test/text has the properties:
->  code  =>  \tl_set:Nn \l_tmpa_tl {#1}.
+>  code  =>  \bool_if:NTF \l__keys_digest_bool {\tl_put_right:Nn
+\l__keys_digest_tl }{\use:n }{\tl_set:Nn \l_tmpa_tl {#1}}.
 The key test/expanded has the properties:
->  code  =>  \tl_gset:Nx \l_tmpb_tl {#1}.
+>  code  =>  \bool_if:NTF \l__keys_digest_bool {\tl_put_right:Nn
+\l__keys_digest_tl }{\use:n }{\tl_gset:Nx \l_tmpb_tl {#1}}.
 ============================================================
 ============================================================
 TEST 10: muskip





More information about the latex3-commits mailing list.