Skip to content

Commit 16f6b36

Browse files
committed
test runner: when errors are thrown in a test, the message is successfully show on all browsers.
1 parent 99101e0 commit 16f6b36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/data/testrunner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function test(name, callback, nowait) {
110110
console.error(e);
111111
console.warn(callback.toString());
112112
}
113-
_config.Test.push( [ false, "Died on test #" + (_config.Test.length+1) + ": " + e ] );
113+
_config.Test.push( [ false, "Died on test #" + (_config.Test.length+1) + ": " + e.message ] );
114114
}
115115
});
116116
synchronize(function() {

0 commit comments

Comments
 (0)