Sha256: 2106e9b21f28e614c2c28f77dba6731a19e37645efe6681cf2d9af55c1b6bbe6
Contents?: true
Size: 371 Bytes
Versions: 1
Compression:
Stored size: 371 Bytes
Contents
module XCPretty module Printer class RSpec include Printer FAIL = "F" PASS = "." def pretty_format(text) case text when PASSING_TEST_MATCHER colorize? ? green(PASS) : PASS when FAILING_TEST_MATCHER colorize? ? red(FAIL) : FAIL else "" end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
xcpretty-0.0.3 | lib/xcpretty/printers/rspec.rb |