[latex3-commits] [git/LaTeX3-latex3-latex3] l3text: Add test for expanding implicit chars (09be0f22d)
Joseph Wright
joseph.wright at morningstar2.co.uk
Sun Dec 8 01:21:19 CET 2019
Repository : https://github.com/latex3/latex3
On branch : l3text
Link : https://github.com/latex3/latex3/commit/09be0f22d415e5d91e6ccaef9303a7bc8156e40a
>---------------------------------------------------------------
commit 09be0f22d415e5d91e6ccaef9303a7bc8156e40a
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Sun Dec 8 00:21:19 2019 +0000
Add test for expanding implicit chars
>---------------------------------------------------------------
09be0f22d415e5d91e6ccaef9303a7bc8156e40a
l3kernel/testfiles/m3text001.lvt | 14 ++++++++++++++
l3kernel/testfiles/m3text001.tlg | 5 +++++
2 files changed, 19 insertions(+)
diff --git a/l3kernel/testfiles/m3text001.lvt b/l3kernel/testfiles/m3text001.lvt
index 4031cb9bb..f9376a3c3 100644
--- a/l3kernel/testfiles/m3text001.lvt
+++ b/l3kernel/testfiles/m3text001.lvt
@@ -62,4 +62,18 @@
\text_expand:n { \"{a} \u{e} \H{i} \v{o} \.{u} }
}
+\OMIT
+\tex_let:D \AAA = A
+\tex_chardef:D \BBB = `B
+\tex_mathchardef:D \CCC = `C
+\use:n { \tex_let:D \SPACEA = ~ } ~ %
+\tex_chardef:D \SPACEB = `\ %
+\tex_mathchardef:D \SPACEC = `\ %
+\TIMO
+
+\TESTEXP { Implicit~tokens }
+ {
+ \text_expand:n { " \AAA " \BBB " \CCC " \SPACEA " \SPACEB " \SPACEC " }
+ }
+
\END
diff --git a/l3kernel/testfiles/m3text001.tlg b/l3kernel/testfiles/m3text001.tlg
index 66b9aba64..f9405a7a3 100644
--- a/l3kernel/testfiles/m3text001.tlg
+++ b/l3kernel/testfiles/m3text001.tlg
@@ -38,3 +38,8 @@ TEST 6: Accents
============================================================
\"{a}\u {e}\H {i}\v {o}\.{u}
============================================================
+============================================================
+TEST 7: Implicit tokens
+============================================================
+"A"B"C" " " "
+============================================================
More information about the latex3-commits
mailing list