Fixed Red/Green bar status line reading regex to work
This commit is contained in:
parent
58708fb349
commit
d4ed444db0
@ -85,7 +85,7 @@ function jasmine#redgreen()
|
|||||||
|
|
||||||
let lines = split(result, "\n")
|
let lines = split(result, "\n")
|
||||||
for line in lines
|
for line in lines
|
||||||
if line =~ '\d\+ examples, \(\d\+\) failure'
|
if line =~ '\d\+ example\(s*\), \(\d\+\) failure\(s*\)'
|
||||||
if line =~ ', 0 failure'
|
if line =~ ', 0 failure'
|
||||||
call jasmine#greenbar(line)
|
call jasmine#greenbar(line)
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user