prepend tests with a ! to omit a particular test from the test suite

This commit is contained in:
Eric Rowell
2012-11-15 21:33:39 -08:00
parent 1913fed33b
commit 0db40018af
2 changed files with 2 additions and 2 deletions

View File

@@ -94,7 +94,7 @@ Test.prototype = {
// loop through tests
for(var key in tests) {
if(key.charAt(0) !== 'x' && (!testOnlySpecial || key.charAt(0) === '*')) {
if(key.charAt(0) !== '!' && (!testOnlySpecial || key.charAt(0) === '*')) {
var obj = this.addTestContainer(key);
this.counter++;
console.log(this.counter + ') ' + key);