Skip to content

Commit

Permalink
Fixing runnerMocha.py to work more specifically with error messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
Walt Woods committed May 15, 2013
1 parent ad8ef8a commit 48ffb41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runnerMocha.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class RunnerMocha(RunnerBase):
_TEST_REGEX = re.compile("^([ \t]*)it" + _JS_CALL_STRING, re.M)
_DESCRIBE_REGEX = re.compile("^([ \t]*)describe" + _JS_CALL_STRING, re.M)
_HEADER_LINE = re.compile(r"^\d+\.\.\d+$", re.M)
_ERROR_LINE = re.compile(r"^( +.*Error:.*| +at .*:\d+:\d+\)?)$")
_ERROR_LINE = re.compile(r"^( [a-zA-Z0-9]*Error:.*| +at .*:\d+:\d+\)?)$")

def cacheOptionsForBuild(self):
self._mochaCompilers = self.options.get('mocha_compilers', '')
Expand Down

0 comments on commit 48ffb41

Please sign in to comment.