diff --git a/lib/sass_spec/runner.rb b/lib/sass_spec/runner.rb index 537e2dfa10..0d5e5fa5f2 100644 --- a/lib/sass_spec/runner.rb +++ b/lib/sass_spec/runner.rb @@ -60,10 +60,10 @@ def run passing = [] test_cases.each do |test_case| if test_case.todo? && test_case.result? - passing << test_case.folder + passing << test_case.dir.to_s end end - if passing.any? + if !passing.empty? puts "The following tests pass but were marked as TODO for #{@options[:engine_adapter].describe}:" puts passing.join("\n") else