From 3601aac1364fba40cd682007dc5402f564266f06 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 17 Jun 2014 11:32:53 -0700 Subject: [PATCH] Correct deprecation label --- spec/atom-reporter.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/atom-reporter.coffee b/spec/atom-reporter.coffee index d1e7590b0..517a14aef 100644 --- a/spec/atom-reporter.coffee +++ b/spec/atom-reporter.coffee @@ -98,10 +98,10 @@ class AtomReporter extends View addDeprecations: (spec) -> deprecations = grim.getDeprecations() @deprecationCount += deprecations.length - if @deprecationCount > 1 - @deprecationStatus.text("#{@deprecationCount} deprecations") - else + if @deprecationCount is 1 @deprecationStatus.text("1 deprecation") + else + @deprecationStatus.text("#{@deprecationCount} deprecations") for deprecation in deprecations @deprecationList.append $$ ->