1
0
Fork 0
forked from 0x2620/oxjs

remove print statement, make slow tests faster

This commit is contained in:
rolux 2012-05-27 18:46:59 +02:00
commit 8612218011
2 changed files with 2 additions and 4 deletions

View file

@ -605,7 +605,6 @@ Ox.test = function(file, callback) {
Ox.Break();
}
});
Ox.print('FILE::', file, name, Ox.test.data)
Ox.test.data[file].results.push({
actual: result,
expected: expected,
@ -615,7 +614,6 @@ Ox.test = function(file, callback) {
passed: Ox.isEqual(result, expected)
});
delete Ox.test.data[file].tests[name];
Ox.print('????::', file, name, Ox.test.data[file])
if (Ox.test.data[file].done && Ox.isEmpty(Ox.test.data[file].tests)) {
Ox.test.data[file].callback(Ox.test.data[file].results);
}