Skip to content

Commit

Permalink
generalizations: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjbq7 committed May 1, 2023
1 parent 2c6e645 commit b4645bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/generalizations/generalizations-tests.factor
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ IN: generalizations.tests
{ 1 2 3 4 2 } [ 1 2 3 4 3 npick ] unit-test
{ 1 2 3 4 3 } [ 1 2 3 4 2 npick ] unit-test
{ 1 2 3 4 4 } [ 1 2 3 4 1 npick ] unit-test
[ 1 2 3 4 0 npick ] [ nonpositive-npick? ] must-fail-with
[ 1 2 3 4 -11 npick ] [ nonpositive-npick? ] must-fail-with
[ 1 2 3 4 0 npick ] [ positive-number-expected? ] must-fail-with
[ 1 2 3 4 -11 npick ] [ positive-number-expected? ] must-fail-with

[ 1 1 ndup ] must-infer
{ 1 1 } [ 1 1 ndup ] unit-test
Expand Down

0 comments on commit b4645bf

Please sign in to comment.