IE uses empty string (rather than undefined) for unmatched regex groups
parent
a701ee40a7
commit
2ef17cd297
|
@ -132,7 +132,7 @@ module.exports = function( test_case )
|
|||
args.push( [ context[ prop ][ i ] ] );
|
||||
}
|
||||
}
|
||||
else if ( method !== undefined )
|
||||
else if ( method )
|
||||
{
|
||||
throw Error( "Unknown test method: " + method );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue