Jemplate
view release on metacpan or search on metacpan
tests/lib/Test/Builder.js view on Meta::CPAN
}
} else {
// Ignore errors if hasOwnProperty() isn't available, as in
// Safari < 2.0.2 and Explorer 5.
}
}
};
Test.Builder.prototype.expectedTests = function (max) {
if (max) {
if (isNaN(max)) {
Test.Builder.die(
"Number of tests must be a postive integer. You gave it '"
+ max + "'." + Test.Builder.LF
);
}
this.ExpectedTests = max.valueOf();
this.HavePlan = true;
if (!this.noHeader()) this._print("1.." + max + Test.Builder.LF);
}
( run in 0.999 second using v1.01-cache-2.11-cpan-4d50c553e7e )