[latex3-commits] [git/LaTeX3-latex3-latex3] msg_term: Add tests for \msg_term:nn(nnnn) (4dbb3a013)
PhelypeOleinik
tex.phelype at gmail.com
Thu Jul 16 15:26:29 CEST 2020
Repository : https://github.com/latex3/latex3
On branch : msg_term
Link : https://github.com/latex3/latex3/commit/4dbb3a0138adc63f39ac8b6fc605de9a7a70eda2
>---------------------------------------------------------------
commit 4dbb3a0138adc63f39ac8b6fc605de9a7a70eda2
Author: PhelypeOleinik <tex.phelype at gmail.com>
Date: Thu Jul 16 10:26:29 2020 -0300
Add tests for \msg_term:nn(nnnn)
>---------------------------------------------------------------
4dbb3a0138adc63f39ac8b6fc605de9a7a70eda2
l3kernel/testfiles/m3msg001.lvt | 12 ++++++++++++
l3kernel/testfiles/m3msg001.tlg | 35 ++++++++++++++++++++++-------------
2 files changed, 34 insertions(+), 13 deletions(-)
diff --git a/l3kernel/testfiles/m3msg001.lvt b/l3kernel/testfiles/m3msg001.lvt
index 9d37d58df..556e2e740 100644
--- a/l3kernel/testfiles/m3msg001.lvt
+++ b/l3kernel/testfiles/m3msg001.lvt
@@ -103,6 +103,18 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\TEST{Issuing~term~messages}{
+ \msg_term:nnxxxx {module} {name} {\l_test_tl} {\l_test_tl}
+ {\l_test_tl} {\l_test_tl}
+ \msg_term:nnxxx {module} {name} {\l_test_tl} {\l_test_tl}
+ {\l_test_tl}
+ \msg_term:nnxx {module} {name} {\l_test_tl} {\l_test_tl}
+ \msg_term:nnx {module} {name} {\l_test_tl}
+ \msg_term:nn {module} {name}
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\TEST{"Issuing"~none~messages}{
\msg_none:nnxxxx {module} {name} {\l_test_tl} {\l_test_tl}
{\l_test_tl} {\l_test_tl}
diff --git a/l3kernel/testfiles/m3msg001.tlg b/l3kernel/testfiles/m3msg001.tlg
index 6bd98983d..81723e2f9 100644
--- a/l3kernel/testfiles/m3msg001.tlg
+++ b/l3kernel/testfiles/m3msg001.tlg
@@ -126,28 +126,37 @@ text text
text
============================================================
============================================================
-TEST 9: "Issuing" none messages
+TEST 9: Issuing term messages
+============================================================
+text text
+text text
+text text
+text text
+text
+============================================================
+============================================================
+TEST 10: "Issuing" none messages
============================================================
============================================================
============================================================
-TEST 10: Redirection of messages: by class
+TEST 11: Redirection of messages: by class
============================================================
Package module Warning: text
============================================================
============================================================
-TEST 11: Redirection of messages: by module
+TEST 12: Redirection of messages: by module
============================================================
Package module Warning: text
============================================================
============================================================
-TEST 12: Redirection of messages: by name
+TEST 13: Redirection of messages: by name
============================================================
Package module Warning: text
============================================================
============================================================
-TEST 13: Simple text commands
+TEST 14: Simple text commands
============================================================
-! Package module Error: TEXT on line ...TEXT150TEXT
+! Package module Error: TEXT on line ...TEXT162TEXT
(module) TEXT
(module)
(module) TEXT
@@ -159,17 +168,17 @@ Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
============================================================
============================================================
-TEST 14: Making new kernel messages
+TEST 15: Making new kernel messages
============================================================
Defining message LaTeX/division/name2 on line ...
Defining message LaTeX/division/name3 on line ...
============================================================
============================================================
-TEST 15: Making kernel messages using set
+TEST 16: Making kernel messages using set
============================================================
============================================================
============================================================
-TEST 16: Trying to make new kernel messages which already exist
+TEST 17: Trying to make new kernel messages which already exist
============================================================
! LaTeX3 Error: Message 'division/othername' for module 'LaTeX' already
(LaTeX3) defined.
@@ -195,7 +204,7 @@ If that doesn't work, type X <return> to quit.
Defining message LaTeX/division/othername on line ...
============================================================
============================================================
-TEST 17: Issuing kernel fatal messages (without stopping!)
+TEST 18: Issuing kernel fatal messages (without stopping!)
============================================================
! Fatal LaTeX3 Error: text text
For immediate help type H <return>.
@@ -229,7 +238,7 @@ more text
This is a fatal error: LaTeX will abort.
============================================================
============================================================
-TEST 18: Issuing kernel error messages
+TEST 19: Issuing kernel error messages
============================================================
! LaTeX3 Error: text text
For immediate help type H <return>.
@@ -258,7 +267,7 @@ l. ...}
more text
============================================================
============================================================
-TEST 19: Issuing kernel warning messages
+TEST 20: Issuing kernel warning messages
============================================================
LaTeX3 Warning: text text
LaTeX3 Warning: text text
@@ -267,7 +276,7 @@ LaTeX3 Warning: text text
LaTeX3 Warning: text
============================================================
============================================================
-TEST 20: Issuing kernel info messages
+TEST 21: Issuing kernel info messages
============================================================
LaTeX3 Info: text text
LaTeX3 Info: text text
More information about the latex3-commits
mailing list.