Skip to content

Commit 81205dd

Browse files
committed
Test number of arguments
1 parent 6e10e94 commit 81205dd

File tree

7 files changed

+15
-7
lines changed

7 files changed

+15
-7
lines changed

test/test-describe.4th

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
\ Copyright 2019 nomennescio
2-
s" group of tests" describe#{
3-
s" single test" it#{
4-
<{ 0 -> 0 }>
5-
}#
6-
}#
2+
s" group of tests" describe#{
3+
s" single test" it#{
4+
<{ 0 -> 0 }>
5+
}#
6+
}#

test/test-fail.4th

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
\ Copyright 2019 nomennescio
2-
<{ 0 -> 1 }>
2+
<{ 0 -> 1 }>

test/test-pass.4th

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
\ Copyright 2019 nomennescio
2-
<{ 0 -> 0 }>
2+
<{ 0 -> 0 }>

test/test-too-little-arguments.4th

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
\ Copyright 2019 nomennescio
2+
<{ 0 -> 0 0 }>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
<FAILED::>Wrong number of results, expected 1 , got 2

test/test-too-many-arguments.4th

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
\ Copyright 2019 nomennescio
2+
<{ 0 0 -> 0 }>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
<FAILED::>Wrong number of results, expected 2 , got 1

0 commit comments

Comments
 (0)