File tree 1 file changed +16
-16
lines changed
1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -41,65 +41,65 @@ tap.test('failures', function (tt) {
41
41
+ 'not ok 1 should throw\n'
42
42
+ ' ---\n'
43
43
+ ' operator: throws\n'
44
- + ' expected: |- \n'
44
+ + ' expected:\n'
45
45
+ ' undefined\n'
46
- + ' actual: |- \n'
46
+ + ' actual:\n'
47
47
+ " { [TypeError: " + getNonFunctionMessage ( ) + "] message: '" + getNonFunctionMessage ( ) + "' }\n"
48
48
+ ' ...\n'
49
49
+ 'not ok 2 should throw\n'
50
50
+ ' ---\n'
51
51
+ ' operator: throws\n'
52
- + ' expected: |- \n'
52
+ + ' expected:\n'
53
53
+ ' undefined\n'
54
- + ' actual: |- \n'
54
+ + ' actual:\n'
55
55
+ " { [TypeError: " + getNonFunctionMessage ( null ) + "] message: '" + getNonFunctionMessage ( null ) + "' }\n"
56
56
+ ' ...\n'
57
57
+ 'not ok 3 should throw\n'
58
58
+ ' ---\n'
59
59
+ ' operator: throws\n'
60
- + ' expected: |- \n'
60
+ + ' expected:\n'
61
61
+ ' undefined\n'
62
- + ' actual: |- \n'
62
+ + ' actual:\n'
63
63
+ " { [TypeError: " + getNonFunctionMessage ( true ) + "] message: '" + getNonFunctionMessage ( true ) + "' }\n"
64
64
+ ' ...\n'
65
65
+ 'not ok 4 should throw\n'
66
66
+ ' ---\n'
67
67
+ ' operator: throws\n'
68
- + ' expected: |- \n'
68
+ + ' expected:\n'
69
69
+ ' undefined\n'
70
- + ' actual: |- \n'
70
+ + ' actual:\n'
71
71
+ " { [TypeError: " + getNonFunctionMessage ( false ) + "] message: '" + getNonFunctionMessage ( false ) + "' }\n"
72
72
+ ' ...\n'
73
73
+ 'not ok 5 should throw\n'
74
74
+ ' ---\n'
75
75
+ ' operator: throws\n'
76
- + ' expected: |- \n'
76
+ + ' expected:\n'
77
77
+ ' undefined\n'
78
- + ' actual: |- \n'
78
+ + ' actual:\n'
79
79
+ " { [TypeError: " + getNonFunctionMessage ( 'abc' ) + "] message: '" + getNonFunctionMessage ( 'abc' ) + "' }\n"
80
80
+ ' ...\n'
81
81
+ 'not ok 6 should throw\n'
82
82
+ ' ---\n'
83
83
+ ' operator: throws\n'
84
- + ' expected: |- \n'
84
+ + ' expected:\n'
85
85
+ ' undefined\n'
86
- + ' actual: |- \n'
86
+ + ' actual:\n'
87
87
+ " { [TypeError: " + getNonFunctionMessage ( / a / g) + "] message: '" + getNonFunctionMessage ( / a / g) + "' }\n"
88
88
+ ' ...\n'
89
89
+ 'not ok 7 should throw\n'
90
90
+ ' ---\n'
91
91
+ ' operator: throws\n'
92
- + ' expected: |- \n'
92
+ + ' expected:\n'
93
93
+ ' undefined\n'
94
- + ' actual: |- \n'
94
+ + ' actual:\n'
95
95
+ " { [TypeError: " + getNonFunctionMessage ( [ ] ) + "] message: '" + getNonFunctionMessage ( [ ] ) + "' }\n"
96
96
+ ' ...\n'
97
97
+ 'not ok 8 should throw\n'
98
98
+ ' ---\n'
99
99
+ ' operator: throws\n'
100
- + ' expected: |- \n'
100
+ + ' expected:\n'
101
101
+ ' undefined\n'
102
- + ' actual: |- \n'
102
+ + ' actual:\n'
103
103
+ " { [TypeError: " + getNonFunctionMessage ( { } ) + "] message: '" + getNonFunctionMessage ( { } ) + "' }\n"
104
104
+ ' ...\n'
105
105
+ '# function\n'
You can’t perform that action at this time.
0 commit comments