mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
Show 0 failures when all pass
This commit is contained in:
parent
069ead6b1c
commit
848d77d3eb
@ -68,13 +68,10 @@ class AtomReporter extends View
|
||||
|
||||
reportRunnerResults: (runner) ->
|
||||
@updateSpecCounts()
|
||||
if @failedCount == 0
|
||||
@message.text "Specs Passed"
|
||||
if @failedCount is 1
|
||||
@message.text "#{@failedCount} failure"
|
||||
else
|
||||
if @failedCount is 1
|
||||
@message.text "#{@failedCount} Failure"
|
||||
else
|
||||
@message.text "#{@failedCount} Failures"
|
||||
@message.text "#{@failedCount} failures"
|
||||
|
||||
reportSuiteResults: (suite) ->
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user