[latex3-commits] [latex3/latex3] main: Simplify test setup a little (b8badf2fe)

github at latex-project.org github at latex-project.org
Mon May 22 00:16:46 CEST 2023


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

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

commit b8badf2fe768598ff75db598b324c87136ce41db
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri May 19 18:34:19 2023 +0100

    Simplify test setup a little


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

b8badf2fe768598ff75db598b324c87136ce41db
 l3kernel/testfiles/m3skip004.lvt | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/l3kernel/testfiles/m3skip004.lvt b/l3kernel/testfiles/m3skip004.lvt
index c1320918c..d196f4851 100644
--- a/l3kernel/testfiles/m3skip004.lvt
+++ b/l3kernel/testfiles/m3skip004.lvt
@@ -43,23 +43,23 @@
 
 \TESTEXP { Strip~big~point~unit }
   {
-    \exp_not:f { \dim_to_decimal_in_bp:n { 1.1234 pt } } \NEWLINE
-    \exp_not:f { \dim_to_decimal_in_bp:n { 1.1234 bp } } \NEWLINE
-    \exp_not:f { \dim_to_decimal_in_bp:n { 3 pt + 4 pt } } \NEWLINE
+    \dim_to_decimal_in_bp:n { 1.1234 pt } \NEWLINE
+    \dim_to_decimal_in_bp:n { 1.1234 bp } \NEWLINE
+    \dim_to_decimal_in_bp:n { 3 pt + 4 pt } \NEWLINE
   }
 
 \TESTEXP { Convert~to~pt }
   {
-    \exp_not:f { \dim_to_decimal:n { 1.1234 pt } } \NEWLINE
-    \exp_not:f { \dim_to_decimal:n { 1.1234 bp } } \NEWLINE
-    \exp_not:f { \dim_to_decimal:n { 3 pt + 4 pt } } \NEWLINE
+    \dim_to_decimal:n { 1.1234 pt } \NEWLINE
+    \dim_to_decimal:n { 1.1234 bp } \NEWLINE
+    \dim_to_decimal:n { 3 pt + 4 pt } \NEWLINE
   }
 
 \TESTEXP { Convert~to~unit }
   {
-    \exp_not:f { \dim_to_decimal_in_unit:nn { 1.1234 pt } { 1bp + .1234bp } } \NEWLINE
-    \exp_not:f { \dim_to_decimal_in_unit:nn { 1.1234 bp } { 1.1234 pt } } \NEWLINE
-    \exp_not:f { \dim_to_decimal_in_unit:nn { 3 pt + 4 pt } { 2pt * 2 } } \NEWLINE
+    \dim_to_decimal_in_unit:nn { 1.1234 pt } { 1bp + .1234bp } \NEWLINE
+    \dim_to_decimal_in_unit:nn { 1.1234 bp } { 1.1234 pt } \NEWLINE
+    \dim_to_decimal_in_unit:nn { 3 pt + 4 pt } { 2pt * 2 } \NEWLINE
   }
 
 % We don't care about the output of each of those "bad" conversions





More information about the latex3-commits mailing list.