Skip to content

Commit

Permalink
Correct ICCBased tests
Browse files Browse the repository at this point in the history
So that they actually issue the messages.
  • Loading branch information
josephwright committed Oct 18, 2021
1 parent cd2b838 commit 44505a8
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 39 deletions.
6 changes: 3 additions & 3 deletions l3kernel/testfiles/m3color003.lvt
Expand Up @@ -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
}
Expand Down
19 changes: 10 additions & 9 deletions l3kernel/testfiles/m3color003.ptex.tlg
Expand Up @@ -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.
============================================================
19 changes: 10 additions & 9 deletions l3kernel/testfiles/m3color003.tlg
Expand Up @@ -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.
============================================================
19 changes: 10 additions & 9 deletions l3kernel/testfiles/m3color003.uptex.tlg
Expand Up @@ -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.
============================================================
19 changes: 10 additions & 9 deletions l3kernel/testfiles/m3color003.xetex.tlg
Expand Up @@ -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.
============================================================

0 comments on commit 44505a8

Please sign in to comment.