lib/spectus/result/pass.rb in spectus-3.1.2 vs lib/spectus/result/pass.rb in spectus-3.1.3

- old
+ new

@@ -1,8 +1,8 @@ # frozen_string_literal: true -require_relative 'common' +require_relative "common" module Spectus module Result # The class that is responsible for reporting that the expectation is true. class Pass @@ -58,27 +58,27 @@ # Express the result with one char. # # @return [String] The char that identify the result. def char if success? - '.' + "." elsif warning? - 'W' + "W" else - 'I' + "I" end end # Express the result with one emoji. # # @return [String] The emoji that identify the result. def emoji if success? - '✅' + "✅" elsif warning? - '⚠️' + "⚠️" else - '💡' + "💡" end end end end end