[latex3-commits] [git/LaTeX3-latex3-latex3] main: Correct ICCBased tests (8cd78e7c8)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Oct 18 14:00:02 CEST 2021


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

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

commit 8cd78e7c888be4f235febf260cf0e9c88f4cada5
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Feb 24 17:10:16 2021 +0000

    Correct ICCBased tests
    
    So that they actually issue the messages.


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

8cd78e7c888be4f235febf260cf0e9c88f4cada5
 l3kernel/testfiles/m3color003.lvt       |  6 +++---
 l3kernel/testfiles/m3color003.ptex.tlg  | 19 ++++++++++---------
 l3kernel/testfiles/m3color003.tlg       | 19 ++++++++++---------
 l3kernel/testfiles/m3color003.uptex.tlg | 19 ++++++++++---------
 l3kernel/testfiles/m3color003.xetex.tlg | 19 ++++++++++---------
 5 files changed, 43 insertions(+), 39 deletions(-)

diff --git a/l3kernel/testfiles/m3color003.lvt b/l3kernel/testfiles/m3color003.lvt
index ae0b35948..1ff4d3318 100644
--- a/l3kernel/testfiles/m3color003.lvt
+++ b/l3kernel/testfiles/m3color003.lvt
@@ -295,13 +295,13 @@
     \color_show:n { foo }
   }
 
-\TEST { DeviceN~errors }
+\TEST { ICCBased~errors }
   {
-    \color_model_new:nnn { ICCmixed } { DeviceN }
+    \color_model_new:nnn { ICCmixed } { ICCBased }
       {
         drat = X
       }
-    \color_model_new:nnn { ICCmixed } { DeviceN }
+    \color_model_new:nnn { ICCmixed } { ICCBased }
       {
         file = foo
       }
diff --git a/l3kernel/testfiles/m3color003.ptex.tlg b/l3kernel/testfiles/m3color003.ptex.tlg
index 84ba94580..a125e6cc5 100644
--- a/l3kernel/testfiles/m3color003.ptex.tlg
+++ b/l3kernel/testfiles/m3color003.ptex.tlg
@@ -502,20 +502,21 @@ The color foo has the properties:
 l. ...  }
 ============================================================
 ============================================================
-TEST 16: DeviceN errors
+TEST 16: ICCBased errors
 ============================================================
-! LaTeX3 Error: DeviceN color space 'ICCmixed' require a list of names.
+! LaTeX3 Error: ICCBased color space 'ICCmixed' require an file.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-LaTeX has been asked to create a DeviceN color space, but no 
-    names = <names>
-key was given with the correct information.
-! LaTeX3 Error: DeviceN color space 'ICCmixed' require a list of names.
+LaTeX has been asked to create an ICCBased color space, but no 
+    file = <name>
+key was given with the correct information. LaTeX will ignore this request.
+! LaTeX3 Error: ICCBased color space 'ICCmixed' require a number of
+(LaTeX3)        components.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-LaTeX has been asked to create a DeviceN color space, but no 
-    names = <names>
-key was given with the correct information.
+LaTeX has been asked to create an ICCBased color space, but no 
+    compontents = <number>
+key was given with the correct information. LaTeX will ignore this request.
 ============================================================
diff --git a/l3kernel/testfiles/m3color003.tlg b/l3kernel/testfiles/m3color003.tlg
index f4123472c..d25eee7e0 100644
--- a/l3kernel/testfiles/m3color003.tlg
+++ b/l3kernel/testfiles/m3color003.tlg
@@ -500,20 +500,21 @@ The color foo has the properties:
 l. ...  }
 ============================================================
 ============================================================
-TEST 16: DeviceN errors
+TEST 16: ICCBased errors
 ============================================================
-! LaTeX3 Error: DeviceN color space 'ICCmixed' require a list of names.
+! LaTeX3 Error: ICCBased color space 'ICCmixed' require an file.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-LaTeX has been asked to create a DeviceN color space, but no 
-    names = <names>
-key was given with the correct information.
-! LaTeX3 Error: DeviceN color space 'ICCmixed' require a list of names.
+LaTeX has been asked to create an ICCBased color space, but no 
+    file = <name>
+key was given with the correct information. LaTeX will ignore this request.
+! LaTeX3 Error: ICCBased color space 'ICCmixed' require a number of
+(LaTeX3)        components.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-LaTeX has been asked to create a DeviceN color space, but no 
-    names = <names>
-key was given with the correct information.
+LaTeX has been asked to create an ICCBased color space, but no 
+    compontents = <number>
+key was given with the correct information. LaTeX will ignore this request.
 ============================================================
diff --git a/l3kernel/testfiles/m3color003.uptex.tlg b/l3kernel/testfiles/m3color003.uptex.tlg
index 84ba94580..a125e6cc5 100644
--- a/l3kernel/testfiles/m3color003.uptex.tlg
+++ b/l3kernel/testfiles/m3color003.uptex.tlg
@@ -502,20 +502,21 @@ The color foo has the properties:
 l. ...  }
 ============================================================
 ============================================================
-TEST 16: DeviceN errors
+TEST 16: ICCBased errors
 ============================================================
-! LaTeX3 Error: DeviceN color space 'ICCmixed' require a list of names.
+! LaTeX3 Error: ICCBased color space 'ICCmixed' require an file.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-LaTeX has been asked to create a DeviceN color space, but no 
-    names = <names>
-key was given with the correct information.
-! LaTeX3 Error: DeviceN color space 'ICCmixed' require a list of names.
+LaTeX has been asked to create an ICCBased color space, but no 
+    file = <name>
+key was given with the correct information. LaTeX will ignore this request.
+! LaTeX3 Error: ICCBased color space 'ICCmixed' require a number of
+(LaTeX3)        components.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-LaTeX has been asked to create a DeviceN color space, but no 
-    names = <names>
-key was given with the correct information.
+LaTeX has been asked to create an ICCBased color space, but no 
+    compontents = <number>
+key was given with the correct information. LaTeX will ignore this request.
 ============================================================
diff --git a/l3kernel/testfiles/m3color003.xetex.tlg b/l3kernel/testfiles/m3color003.xetex.tlg
index c013d8496..f3d79e5c4 100644
--- a/l3kernel/testfiles/m3color003.xetex.tlg
+++ b/l3kernel/testfiles/m3color003.xetex.tlg
@@ -499,20 +499,21 @@ The color foo has the properties:
 l. ...  }
 ============================================================
 ============================================================
-TEST 16: DeviceN errors
+TEST 16: ICCBased errors
 ============================================================
-! LaTeX3 Error: DeviceN color space 'ICCmixed' require a list of names.
+! LaTeX3 Error: ICCBased color space 'ICCmixed' require an file.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-LaTeX has been asked to create a DeviceN color space, but no 
-    names = <names>
-key was given with the correct information.
-! LaTeX3 Error: DeviceN color space 'ICCmixed' require a list of names.
+LaTeX has been asked to create an ICCBased color space, but no 
+    file = <name>
+key was given with the correct information. LaTeX will ignore this request.
+! LaTeX3 Error: ICCBased color space 'ICCmixed' require a number of
+(LaTeX3)        components.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-LaTeX has been asked to create a DeviceN color space, but no 
-    names = <names>
-key was given with the correct information.
+LaTeX has been asked to create an ICCBased color space, but no 
+    compontents = <number>
+key was given with the correct information. LaTeX will ignore this request.
 ============================================================





More information about the latex3-commits mailing list.