Fixed minor bug with Safari and the test suite.
This commit is contained in:
parent
301e2b6493
commit
215f785de6
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ function test(name, callback) {
|
|||
try {
|
||||
callback();
|
||||
} catch(e) {
|
||||
if(typeof console != "undefined") {
|
||||
if( console && console.error ) {
|
||||
console.error("Test " + name + " died, exception and test follows");
|
||||
console.error(e);
|
||||
console.warn(callback.toString());
|
||||
|
|
Loading…
Reference in a new issue