]> begriffs open source - libtap/blob - t/is.expected
Do not auto cast first argument to an int in the ok macro
[libtap] / t / is.expected
1 1..18
2 not ok 1 - this is that
3 #   Failed test 'this is that'
4 #   at t/is.c line 5.
5 #          got: 'this'
6 #     expected: 'that'
7 ok 2 - this is this
8 not ok 3
9 #   Failed test at t/is.c line 7.
10 #          got: 'this'
11 #     expected: 'that'
12 ok 4
13 ok 5 - null is null
14 not ok 6 - null is this
15 #   Failed test 'null is this'
16 #   at t/is.c line 10.
17 #          got: '(null)'
18 #     expected: 'this'
19 not ok 7 - this is null
20 #   Failed test 'this is null'
21 #   at t/is.c line 11.
22 #          got: 'this'
23 #     expected: '(null)'
24 not ok 8
25 #   Failed test at t/is.c line 12.
26 #          got: 'foo
27 # foo
28 # foo'
29 #     expected: 'bar
30 # bar
31 # bar'
32 ok 9
33 ok 10 - this isnt that
34 not ok 11 - this isnt this
35 #   Failed test 'this isnt this'
36 #   at t/is.c line 15.
37 #          got: 'this'
38 #     expected: anything else
39 ok 12
40 not ok 13
41 #   Failed test at t/is.c line 17.
42 #          got: 'this'
43 #     expected: anything else
44 not ok 14 - null isnt null
45 #   Failed test 'null isnt null'
46 #   at t/is.c line 18.
47 #          got: '(null)'
48 #     expected: anything else
49 ok 15 - null isnt this
50 ok 16 - this isnt null
51 ok 17
52 not ok 18
53 #   Failed test at t/is.c line 22.
54 #          got: 'foo
55 # foo
56 # foo'
57 #     expected: anything else
58 # Looks like you failed 9 tests of 18 run.