Subversion Repositories JSX

Compare Revisions

Last modification

Ignore whitespace Rev 642 → Rev 643

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