Skip to content

Commit

Permalink
Follow-up to a4eeba4 - config.filter can be undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaefferer committed Jun 1, 2012
1 parent a4eeba4 commit a297b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qunit/qunit.js
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ function done() {

function validTest( test ) {
var include,
filter = config.filter.toLowerCase(),
filter = config.filter && config.filter.toLowerCase(),
fullName = (test.module + ": " + test.testName).toLowerCase();

if ( config.testNumber ) {
Expand Down

0 comments on commit a297b95

Please sign in to comment.