@@ -40,6 +40,7 @@ tap.test('failures', function (tt) {
4040 + ' undefined\n'
4141 + ' actual: |-\n'
4242 + " { [TypeError: " + getNonFunctionMessage ( ) + "] message: '" + getNonFunctionMessage ( ) + "' }\n"
43+ + ' at: Test.<anonymous> ($TEST/throws.js:$LINE:$COL)\n'
4344 + ' stack: |-\n'
4445 + ' TypeError: ' + getNonFunctionMessage ( undefined ) + '\n'
4546 + ' [... stack stripped ...]\n'
@@ -53,6 +54,7 @@ tap.test('failures', function (tt) {
5354 + ' undefined\n'
5455 + ' actual: |-\n'
5556 + " { [TypeError: " + getNonFunctionMessage ( null ) + "] message: '" + getNonFunctionMessage ( null ) + "' }\n"
57+ + ' at: Test.<anonymous> ($TEST/throws.js:$LINE:$COL)\n'
5658 + ' stack: |-\n'
5759 + ' TypeError: ' + getNonFunctionMessage ( null ) + '\n'
5860 + ' [... stack stripped ...]\n'
@@ -66,6 +68,7 @@ tap.test('failures', function (tt) {
6668 + ' undefined\n'
6769 + ' actual: |-\n'
6870 + " { [TypeError: " + getNonFunctionMessage ( true ) + "] message: '" + getNonFunctionMessage ( true ) + "' }\n"
71+ + ' at: Test.<anonymous> ($TEST/throws.js:$LINE:$COL)\n'
6972 + ' stack: |-\n'
7073 + ' TypeError: ' + getNonFunctionMessage ( true ) + '\n'
7174 + ' [... stack stripped ...]\n'
@@ -79,6 +82,7 @@ tap.test('failures', function (tt) {
7982 + ' undefined\n'
8083 + ' actual: |-\n'
8184 + " { [TypeError: " + getNonFunctionMessage ( false ) + "] message: '" + getNonFunctionMessage ( false ) + "' }\n"
85+ + ' at: Test.<anonymous> ($TEST/throws.js:$LINE:$COL)\n'
8286 + ' stack: |-\n'
8387 + ' TypeError: ' + getNonFunctionMessage ( false ) + '\n'
8488 + ' [... stack stripped ...]\n'
@@ -92,6 +96,7 @@ tap.test('failures', function (tt) {
9296 + ' undefined\n'
9397 + ' actual: |-\n'
9498 + " { [TypeError: " + getNonFunctionMessage ( 'abc' ) + "] message: '" + getNonFunctionMessage ( 'abc' ) + "' }\n"
99+ + ' at: Test.<anonymous> ($TEST/throws.js:$LINE:$COL)\n'
95100 + ' stack: |-\n'
96101 + ' TypeError: ' + getNonFunctionMessage ( 'abc' ) + '\n'
97102 + ' [... stack stripped ...]\n'
@@ -105,6 +110,7 @@ tap.test('failures', function (tt) {
105110 + ' undefined\n'
106111 + ' actual: |-\n'
107112 + " { [TypeError: " + getNonFunctionMessage ( / a / g) + "] message: '" + getNonFunctionMessage ( / a / g) + "' }\n"
113+ + ' at: Test.<anonymous> ($TEST/throws.js:$LINE:$COL)\n'
108114 + ' stack: |-\n'
109115 + ' TypeError: ' + getNonFunctionMessage ( / a / g) + '\n'
110116 + ' [... stack stripped ...]\n'
@@ -118,6 +124,7 @@ tap.test('failures', function (tt) {
118124 + ' undefined\n'
119125 + ' actual: |-\n'
120126 + " { [TypeError: " + getNonFunctionMessage ( [ ] ) + "] message: '" + getNonFunctionMessage ( [ ] ) + "' }\n"
127+ + ' at: Test.<anonymous> ($TEST/throws.js:$LINE:$COL)\n'
121128 + ' stack: |-\n'
122129 + ' TypeError: ' + getNonFunctionMessage ( [ ] ) + '\n'
123130 + ' [... stack stripped ...]\n'
@@ -131,6 +138,7 @@ tap.test('failures', function (tt) {
131138 + ' undefined\n'
132139 + ' actual: |-\n'
133140 + " { [TypeError: " + getNonFunctionMessage ( { } ) + "] message: '" + getNonFunctionMessage ( { } ) + "' }\n"
141+ + ' at: Test.<anonymous> ($TEST/throws.js:$LINE:$COL)\n'
134142 + ' stack: |-\n'
135143 + ' TypeError: ' + getNonFunctionMessage ( { } ) + '\n'
136144 + ' [... stack stripped ...]\n'
@@ -143,6 +151,7 @@ tap.test('failures', function (tt) {
143151 + ' operator: throws\n'
144152 + ' expected: undefined\n'
145153 + ' actual: undefined\n'
154+ + ' at: Test.<anonymous> ($TEST/throws.js:$LINE:$COL)\n'
146155 + ' stack: |-\n'
147156 + ' Error: should throw\n'
148157 + ' [... stack stripped ...]\n'
0 commit comments