Bug Tracker

Changeset 5283

Show
Ignore:
Timestamp:
04/22/08 22:43:18 (9 months ago)
Author:
joern.zaefferer
Message:

jquery testrunner: accept regexp to select tests, eg. /test/?core|selector to run both core and selector module

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/jquery/test/data/testrunner.js

    r4012 r5283  
    7575         
    7676    var filter = location.search.slice(1); 
    77     if ( filter && encodeURIComponent(name).indexOf(filter) == -1 ) 
     77    if ( filter && !new RegExp(filter).test(encodeURIComponent(name)) ) 
    7878        return; 
    7979