Sha256: 20ead803e3f143c314d102c93b94227154665742a546ed1e835846650a455936
Contents?: true
Size: 384 Bytes
Versions: 2
Compression:
Stored size: 384 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
xcpretty-0.0.2 | lib/xcpretty/printers/rspec.rb |
xcpretty-0.0.1 | lib/xcpretty/printers/rspec.rb |