Skip to content

Commit

Permalink
Add test for expanding implicit chars
Browse files Browse the repository at this point in the history
  • Loading branch information
josephwright committed Dec 8, 2019
1 parent 903f468 commit 09be0f2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
14 changes: 14 additions & 0 deletions l3kernel/testfiles/m3text001.lvt
Expand Up @@ -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
5 changes: 5 additions & 0 deletions l3kernel/testfiles/m3text001.tlg
Expand Up @@ -38,3 +38,8 @@ TEST 6: Accents
============================================================
\"{a}\u {e}\H {i}\v {o}\.{u}
============================================================
============================================================
TEST 7: Implicit tokens
============================================================
"A"B"C" " " "
============================================================

0 comments on commit 09be0f2

Please sign in to comment.