Skip to content

Commit 762c28c

Browse files
committed
Tests: Use isEqual utility function for error reporting
1 parent 51301fb commit 762c28c

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/ps_tests/rendertext.ps.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@
5050
} def
5151

5252
/ok_tmpl {
53-
{ 50 dict begin setup 0 exec rendertext end }
53+
{ 50 dict begin setup 0 exec rendertext true end }
5454
dup 3 -1 roll 4 exch put
55-
stopped { stop } if
55+
true isEqual
5656
} def
5757

5858
/er_tmpl {

tests/ps_tests/setanycolor.ps.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
/setanycolor dup /uk.co.terryburton.bwipp findresource cvx def
1010

1111
/ok_tmpl {
12-
{ 0 setanycolor } dup 3 -1 roll 0 exch put
13-
stopped { stop } if
12+
{ 0 setanycolor true } dup 3 -1 roll 0 exch put
13+
true isEqual
1414
} def
1515

1616
%

0 commit comments

Comments
 (0)