[latex3-commits] [git/LaTeX3-latex3-latex2e] early-endlinechar: Test file showing wrong behaviour (31fc8e5f)

Phelype Oleinik phelype.oleinik at latex-project.org
Thu Apr 13 15:16:55 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : early-endlinechar
Link       : https://github.com/latex3/latex2e/commit/31fc8e5fb36ee783f9a6909cb26c6ff8767a879b

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

commit 31fc8e5fb36ee783f9a6909cb26c6ff8767a879b
Author: Phelype Oleinik <phelype.oleinik at latex-project.org>
Date:   Thu Apr 13 10:16:55 2023 -0300

    Test file showing wrong behaviour


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

31fc8e5fb36ee783f9a6909cb26c6ff8767a879b
 base/testfiles-ltcmd/github-0876.lvt | 26 +++++++++++++++++++
 base/testfiles-ltcmd/github-0876.tlg | 48 ++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/base/testfiles-ltcmd/github-0876.lvt b/base/testfiles-ltcmd/github-0876.lvt
new file mode 100644
index 00000000..2a94f899
--- /dev/null
+++ b/base/testfiles-ltcmd/github-0876.lvt
@@ -0,0 +1,26 @@
+
+\input{regression-test}
+
+\START
+
+\ExplSyntaxOn
+\NewDocumentCommand \foo {+v}
+  { \tl_analysis_show:n {#1} }
+
+\foo+bar
+bar+
+
+\foo+
+bar
+bar+
+
+\foo
++bar
+bar+
+
+\foo
++
+bar
+bar+
+
+\END
diff --git a/base/testfiles-ltcmd/github-0876.tlg b/base/testfiles-ltcmd/github-0876.tlg
new file mode 100644
index 00000000..4b775981
--- /dev/null
+++ b/base/testfiles-ltcmd/github-0876.tlg
@@ -0,0 +1,48 @@
+This is a generated file for the LaTeX2e validation system.
+Don't change this file in any respect.
+The token list contains the tokens:
+>  b (the character b)
+>  a (the character a)
+>  r (the character r)
+>    (blank space  )
+>  b (the character b)
+>  a (the character a)
+>  r (the character r).
+<recently read> }
+l. ...bar+
+         ^^M
+The token list contains the tokens:
+>    (blank space  )
+>  b (the character b)
+>  a (the character a)
+>  r (the character r)
+>  ^^M (the character ^^M)
+>  b (the character b)
+>  a (the character a)
+>  r (the character r).
+<recently read> }
+l. ...bar+
+         ^^M
+The token list contains the tokens:
+>  b (the character b)
+>  a (the character a)
+>  r (the character r)
+>    (blank space  )
+>  b (the character b)
+>  a (the character a)
+>  r (the character r).
+<recently read> }
+l. ...bar+
+         ^^M
+The token list contains the tokens:
+>    (blank space  )
+>  b (the character b)
+>  a (the character a)
+>  r (the character r)
+>  ^^M (the character ^^M)
+>  b (the character b)
+>  a (the character a)
+>  r (the character r).
+<recently read> }
+l. ...bar+
+         ^^M





More information about the latex3-commits mailing list.