Subversion Repositories JSX

Compare Revisions

Last modification

Ignore whitespace Rev 643 → Rev 642

/trunk/test/test.js
893,7 → 893,6
run: function (spec) {
var hasSetUp = false;
var hasTearDown = false;
var tests;
 
if (spec)
{
912,13 → 911,14
this._tearDown = spec.tearDown;
}
 
if (spec.tests)
var tests = spec.tests;
if (tests)
{
this.setTests(spec.tests);
this.setTests(tests);
}
}
 
tests = this._tests;
var tests = this._tests;
if (tests.length == 0)
{
return this._printMsg("No tests defined.", "info");