Skip to content

Commit 205eb7d

Browse files
committed
Test for multiple stack mismatches
1 parent c1ed54a commit 205eb7d

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

test/test-stack-mismatch.4th

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

test/test-stack-mismatch.expected

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
<DESCRIBE::>group of tests
3+
4+
<IT::>single test
5+
6+
<FAILED::>Wrong number of results, expected 1 , got 2
7+
8+
<COMPLETEDIN::>0.060 ms
9+
10+
<IT::>double test
11+
12+
<FAILED::>Wrong number of results, expected 1 , got 2
13+
14+
<PASSED::>Test Passed
15+
16+
<COMPLETEDIN::>0.059 ms
17+
18+
<IT::>double fail test
19+
20+
<FAILED::>Wrong number of results, expected 1 , got 2
21+
22+
<FAILED::>Wrong number of results, expected 3 , got 1
23+
24+
<COMPLETEDIN::>0.071 ms
25+
26+
<COMPLETEDIN::>0.235 ms

0 commit comments

Comments
 (0)