lib/jspec.js in visionmedia-jspec-2.11.0 vs lib/jspec.js in visionmedia-jspec-2.11.1

- old
+ new

@@ -3,11 +3,11 @@ (function(){ JSpec = { - version : '2.11.0', + version : '2.11.1', cache : {}, suites : [], modules : [], allSuites : [], matchers : {}, @@ -1363,10 +1363,11 @@ replace(/-\{/g, 'function(){'). replace(/(\d+)\.\.(\d+)/g, function(_, a, b){ return range(a, b) }). replace(/\.should([_\.]not)?[_\.](\w+)(?: |;|$)(.*)$/gm, '.should$1_$2($3)'). replace(/([\/\s]*)(.+?)\.(should(?:[_\.]not)?)[_\.](\w+)\((.*)\)\s*;?$/gm, '$1 expect($2).$3($4, $5)'). replace(/, \)/gm, ')'). - replace(/should\.not/gm, 'should_not') + replace(/should\.not/gm, 'should_not'). + replace(/__END__.*/m, '') }, /** * Create a range string which can be evaluated to a native array. * \ No newline at end of file