From 339bb114914251e71cb29fbe46ff1a5a3bf5b85f Mon Sep 17 00:00:00 2001 From: Joseph Wright Date: Wed, 24 Feb 2021 17:10:16 +0000 Subject: [PATCH] Correct ICCBased tests So that they actually issue the messages. --- l3kernel/testfiles/m3color003.luatex.tlg | 19 ++++++++++--------- 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 ++++++++++--------- 6 files changed, 53 insertions(+), 48 deletions(-) diff --git a/l3kernel/testfiles/m3color003.luatex.tlg b/l3kernel/testfiles/m3color003.luatex.tlg index c673f3cfdf..4323d715b8 100644 --- a/l3kernel/testfiles/m3color003.luatex.tlg +++ b/l3kernel/testfiles/m3color003.luatex.tlg @@ -488,20 +488,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 . ... l. ... } -LaTeX has been asked to create a DeviceN color space, but no - 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 = +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 . ... l. ... } -LaTeX has been asked to create a DeviceN color space, but no - names = -key was given with the correct information. +LaTeX has been asked to create an ICCBased color space, but no + compontents = +key was given with the correct information. LaTeX will ignore this request. ============================================================ diff --git a/l3kernel/testfiles/m3color003.lvt b/l3kernel/testfiles/m3color003.lvt index 5571179533..a6fe71f14c 100644 --- a/l3kernel/testfiles/m3color003.lvt +++ b/l3kernel/testfiles/m3color003.lvt @@ -288,13 +288,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 0974023885..90810651cc 100644 --- a/l3kernel/testfiles/m3color003.ptex.tlg +++ b/l3kernel/testfiles/m3color003.ptex.tlg @@ -490,20 +490,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 . ... l. ... } -LaTeX has been asked to create a DeviceN color space, but no - 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 = +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 . ... l. ... } -LaTeX has been asked to create a DeviceN color space, but no - names = -key was given with the correct information. +LaTeX has been asked to create an ICCBased color space, but no + compontents = +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 ca01024baa..c64996c1ad 100644 --- a/l3kernel/testfiles/m3color003.tlg +++ b/l3kernel/testfiles/m3color003.tlg @@ -488,20 +488,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 . ... l. ... } -LaTeX has been asked to create a DeviceN color space, but no - 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 = +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 . ... l. ... } -LaTeX has been asked to create a DeviceN color space, but no - names = -key was given with the correct information. +LaTeX has been asked to create an ICCBased color space, but no + compontents = +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 0974023885..90810651cc 100644 --- a/l3kernel/testfiles/m3color003.uptex.tlg +++ b/l3kernel/testfiles/m3color003.uptex.tlg @@ -490,20 +490,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 . ... l. ... } -LaTeX has been asked to create a DeviceN color space, but no - 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 = +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 . ... l. ... } -LaTeX has been asked to create a DeviceN color space, but no - names = -key was given with the correct information. +LaTeX has been asked to create an ICCBased color space, but no + compontents = +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 cf0b44bf5c..52b0da8a70 100644 --- a/l3kernel/testfiles/m3color003.xetex.tlg +++ b/l3kernel/testfiles/m3color003.xetex.tlg @@ -487,20 +487,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 . ... l. ... } -LaTeX has been asked to create a DeviceN color space, but no - 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 = +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 . ... l. ... } -LaTeX has been asked to create a DeviceN color space, but no - names = -key was given with the correct information. +LaTeX has been asked to create an ICCBased color space, but no + compontents = +key was given with the correct information. LaTeX will ignore this request. ============================================================