@@ -39,7 +39,7 @@ tap.test('failures', function (tt) {
39
39
+ ' expected: |-\n'
40
40
+ ' undefined\n'
41
41
+ ' actual: |-\n'
42
- + " { [TypeError: " + getNonFunctionMessage ( ) + "] message: '" + getNonFunctionMessage ( ) + "' }\n"
42
+ + ' { [TypeError: ' + getNonFunctionMessage ( ) + "] message: '" + getNonFunctionMessage ( ) + "' }\n"
43
43
+ ' at: Test.<anonymous> ($TEST/throws.js:$LINE:$COL)\n'
44
44
+ ' stack: |-\n'
45
45
+ ' TypeError: ' + getNonFunctionMessage ( undefined ) + '\n'
@@ -53,7 +53,7 @@ tap.test('failures', function (tt) {
53
53
+ ' expected: |-\n'
54
54
+ ' undefined\n'
55
55
+ ' actual: |-\n'
56
- + " { [TypeError: " + getNonFunctionMessage ( null ) + "] message: '" + getNonFunctionMessage ( null ) + "' }\n"
56
+ + ' { [TypeError: ' + getNonFunctionMessage ( null ) + "] message: '" + getNonFunctionMessage ( null ) + "' }\n"
57
57
+ ' at: Test.<anonymous> ($TEST/throws.js:$LINE:$COL)\n'
58
58
+ ' stack: |-\n'
59
59
+ ' TypeError: ' + getNonFunctionMessage ( null ) + '\n'
@@ -67,7 +67,7 @@ tap.test('failures', function (tt) {
67
67
+ ' expected: |-\n'
68
68
+ ' undefined\n'
69
69
+ ' actual: |-\n'
70
- + " { [TypeError: " + getNonFunctionMessage ( true ) + "] message: '" + getNonFunctionMessage ( true ) + "' }\n"
70
+ + ' { [TypeError: ' + getNonFunctionMessage ( true ) + "] message: '" + getNonFunctionMessage ( true ) + "' }\n"
71
71
+ ' at: Test.<anonymous> ($TEST/throws.js:$LINE:$COL)\n'
72
72
+ ' stack: |-\n'
73
73
+ ' TypeError: ' + getNonFunctionMessage ( true ) + '\n'
@@ -81,7 +81,7 @@ tap.test('failures', function (tt) {
81
81
+ ' expected: |-\n'
82
82
+ ' undefined\n'
83
83
+ ' actual: |-\n'
84
- + " { [TypeError: " + getNonFunctionMessage ( false ) + "] message: '" + getNonFunctionMessage ( false ) + "' }\n"
84
+ + ' { [TypeError: ' + getNonFunctionMessage ( false ) + "] message: '" + getNonFunctionMessage ( false ) + "' }\n"
85
85
+ ' at: Test.<anonymous> ($TEST/throws.js:$LINE:$COL)\n'
86
86
+ ' stack: |-\n'
87
87
+ ' TypeError: ' + getNonFunctionMessage ( false ) + '\n'
@@ -95,7 +95,7 @@ tap.test('failures', function (tt) {
95
95
+ ' expected: |-\n'
96
96
+ ' undefined\n'
97
97
+ ' actual: |-\n'
98
- + " { [TypeError: " + getNonFunctionMessage ( 'abc' ) + "] message: '" + getNonFunctionMessage ( 'abc' ) + "' }\n"
98
+ + ' { [TypeError: ' + getNonFunctionMessage ( 'abc' ) + "] message: '" + getNonFunctionMessage ( 'abc' ) + "' }\n"
99
99
+ ' at: Test.<anonymous> ($TEST/throws.js:$LINE:$COL)\n'
100
100
+ ' stack: |-\n'
101
101
+ ' TypeError: ' + getNonFunctionMessage ( 'abc' ) + '\n'
@@ -109,7 +109,7 @@ tap.test('failures', function (tt) {
109
109
+ ' expected: |-\n'
110
110
+ ' undefined\n'
111
111
+ ' actual: |-\n'
112
- + " { [TypeError: " + getNonFunctionMessage ( / a / g) + "] message: '" + getNonFunctionMessage ( / a / g) + "' }\n"
112
+ + ' { [TypeError: ' + getNonFunctionMessage ( / a / g) + "] message: '" + getNonFunctionMessage ( / a / g) + "' }\n"
113
113
+ ' at: Test.<anonymous> ($TEST/throws.js:$LINE:$COL)\n'
114
114
+ ' stack: |-\n'
115
115
+ ' TypeError: ' + getNonFunctionMessage ( / a / g) + '\n'
@@ -123,7 +123,7 @@ tap.test('failures', function (tt) {
123
123
+ ' expected: |-\n'
124
124
+ ' undefined\n'
125
125
+ ' actual: |-\n'
126
- + " { [TypeError: " + getNonFunctionMessage ( [ ] ) + "] message: '" + getNonFunctionMessage ( [ ] ) + "' }\n"
126
+ + ' { [TypeError: ' + getNonFunctionMessage ( [ ] ) + "] message: '" + getNonFunctionMessage ( [ ] ) + "' }\n"
127
127
+ ' at: Test.<anonymous> ($TEST/throws.js:$LINE:$COL)\n'
128
128
+ ' stack: |-\n'
129
129
+ ' TypeError: ' + getNonFunctionMessage ( [ ] ) + '\n'
@@ -137,7 +137,7 @@ tap.test('failures', function (tt) {
137
137
+ ' expected: |-\n'
138
138
+ ' undefined\n'
139
139
+ ' actual: |-\n'
140
- + " { [TypeError: " + getNonFunctionMessage ( { } ) + "] message: '" + getNonFunctionMessage ( { } ) + "' }\n"
140
+ + ' { [TypeError: ' + getNonFunctionMessage ( { } ) + "] message: '" + getNonFunctionMessage ( { } ) + "' }\n"
141
141
+ ' at: Test.<anonymous> ($TEST/throws.js:$LINE:$COL)\n'
142
142
+ ' stack: |-\n'
143
143
+ ' TypeError: ' + getNonFunctionMessage ( { } ) + '\n'
0 commit comments