[latex3-commits] [git/LaTeX3-latex3-xcolor] main: testfile for issue #7 (db7f476)

David Carlisle d.p.carlisle at gmail.com
Sat Oct 30 17:58:13 CEST 2021


Repository : https://github.com/latex3/xcolor
On branch  : main
Link       : https://github.com/latex3/xcolor/commit/db7f4762e5bda16e219c3a8ed3fa687f2298fcd4

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

commit db7f4762e5bda16e219c3a8ed3fa687f2298fcd4
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Sat Oct 30 16:58:13 2021 +0100

    testfile for issue #7


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

db7f4762e5bda16e219c3a8ed3fa687f2298fcd4
 testfiles/{github-004.lvt => github-007.lvt} | 12 +++---------
 testfiles/{github-004.tlg => github-007.tlg} |  4 ++++
 2 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/testfiles/github-004.lvt b/testfiles/github-007.lvt
similarity index 50%
copy from testfiles/github-004.lvt
copy to testfiles/github-007.lvt
index f5c9923..50226ca 100644
--- a/testfiles/github-004.lvt
+++ b/testfiles/github-007.lvt
@@ -1,16 +1,10 @@
 \documentclass{article}
-
 \usepackage{xcolor}
 \input{regression-test}
-
 \begin{document}
 
-\color{blue} blue
-
-\escapechar=-1
-
+\setbox0\hbox{\colorlet{foo}{.!50}}
 \START
-% should not generate an error
-\color{blue} blue
-
+% This should be empty box
+\showbox0
 \END
\ No newline at end of file
diff --git a/testfiles/github-004.tlg b/testfiles/github-007.tlg
similarity index 65%
copy from testfiles/github-004.tlg
copy to testfiles/github-007.tlg
index bfbef44..5128212 100644
--- a/testfiles/github-004.tlg
+++ b/testfiles/github-007.tlg
@@ -1,2 +1,6 @@
 This is a generated file for the l3build validation system.
 Don't change this file in any respect.
+> \box...=
+\hbox(0.0+0.0)x0.0
+! OK.
+l. ...\showbox0





More information about the latex3-commits mailing list.