[latex3-commits] [git/LaTeX3-latex3-latex3] master: add keys_property_find:n bug tests (aad4dc348)
Joseph Wright
joseph.wright at morningstar2.co.uk
Wed Aug 5 08:40:39 CEST 2020
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/aad4dc348c83156653d1e69415810389a16ec92b
>---------------------------------------------------------------
commit aad4dc348c83156653d1e69415810389a16ec92b
Author: Jonathan Spratte <jspratte at yahoo.de>
Date: Tue Aug 4 22:12:22 2020 +0200
add keys_property_find:n bug tests
>---------------------------------------------------------------
aad4dc348c83156653d1e69415810389a16ec92b
l3kernel/testfiles/m3keys001.lvt | 10 ++++++++++
l3kernel/testfiles/m3keys001.tlg | 14 +++++++++++++-
2 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/l3kernel/testfiles/m3keys001.lvt b/l3kernel/testfiles/m3keys001.lvt
index 4b4bfcdf5..4f0417bf8 100644
--- a/l3kernel/testfiles/m3keys001.lvt
+++ b/l3kernel/testfiles/m3keys001.lvt
@@ -299,6 +299,16 @@
\keys_set:nn { } { key }
}
+\TEST { Empty~module,~key~with~period }
+ {
+ \keys_define:nn { }
+ {
+ key.name .code:n = \tl_show:N \l_keys_path_str
+ ,key.space~ .code:n = \tl_show:N \l_keys_path_str
+ }
+ \keys_set:nn { } { key.name, key.space }
+ }
+
\TEST { Spaces~after~detokenization }
{
\keys_define:nn { module }
diff --git a/l3kernel/testfiles/m3keys001.tlg b/l3kernel/testfiles/m3keys001.tlg
index 9dca3f86b..87ed9889d 100644
--- a/l3kernel/testfiles/m3keys001.tlg
+++ b/l3kernel/testfiles/m3keys001.tlg
@@ -155,7 +155,19 @@ Defining key key on line ...
l. ... }
============================================================
============================================================
-TEST 12: Spaces after detokenization
+TEST 12: Empty module, key with period
+============================================================
+Defining key key.name on line ...
+Defining key key.space on line ...
+> \l_keys_path_str=key.name.
+<recently read> }
+l. ... }
+> \l_keys_path_str=key.space.
+<recently read> }
+l. ... }
+============================================================
+============================================================
+TEST 13: Spaces after detokenization
============================================================
Defining key module/\test on line ...
You typed "Hello World!"
More information about the latex3-commits
mailing list.