git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99101e0
)
test runner: when errors are thrown in a test, the message is successfully show on...
author
Ariel Flesler
<aflesler@gmail.com>
Mon, 12 May 2008 22:31:27 +0000
(22:31 +0000)
committer
Ariel Flesler
<aflesler@gmail.com>
Mon, 12 May 2008 22:31:27 +0000
(22:31 +0000)
test/data/testrunner.js
patch
|
blob
|
history
diff --git
a/test/data/testrunner.js
b/test/data/testrunner.js
index
0113ae5
..
d4fdcf5
100644
(file)
--- a/
test/data/testrunner.js
+++ b/
test/data/testrunner.js
@@
-110,7
+110,7
@@
function test(name, callback, nowait) {
console.error(e);
console.warn(callback.toString());
}
- _config.Test.push( [ false, "Died on test #" + (_config.Test.length+1) + ": " + e ] );
+ _config.Test.push( [ false, "Died on test #" + (_config.Test.length+1) + ": " + e.message ] );
}
});
synchronize(function() {