Skip to content

Commit

Permalink
Potential relabel issue for legacy code
Browse files Browse the repository at this point in the history
  • Loading branch information
nomennescio committed Oct 22, 2023
1 parent 93bfad1 commit 645cf85
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/test-custom.4th
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

s" custom messages" describe#{

:noname ." Just passed" cr ; ^passed !
:noname ." Just failed" cr ; ^different !
:noname ." Just passed" cr ; ^passed$ !
:noname ." Just failed" cr ; ^different$ !

s" short strings" it#{
<{ s" Hello World!" s# -> s" Hello World!" s# }>
Expand All @@ -17,8 +17,8 @@ s" custom messages" describe#{
2variable actual$
2variable expected$

:noname ." Got '" actual$ 2@ type ." ' as expected" cr ; ^passed !
:noname ." Expected '" expected$ 2@ type ." ', got '" actual$ 2@ type ." '" cr ; ^different !
:noname ." Got '" actual$ 2@ type ." ' as expected" cr ; ^passed$ !
:noname ." Expected '" expected$ 2@ type ." ', got '" actual$ 2@ type ." '" cr ; ^different$ !

: &actual 2dup actual$ 2! ;
: &expected 2dup expected$ 2! ;
Expand Down

0 comments on commit 645cf85

Please sign in to comment.