lib/xcpretty/formatters/simple.rb in xcpretty-0.0.7 vs lib/xcpretty/formatters/simple.rb in xcpretty-0.0.8

- old
+ new

@@ -5,15 +5,13 @@ class Simple < Formatter PASS = "✓" FAIL = "✗" - ERROR = "⌦ " ASCII_PASS = "." ASCII_FAIL = "x" - ASCII_ERROR = "[!]" COMPLETION = "▸" ASCII_COMPLETION = ">" def format_analyze(file_name, file_path) format("Analyzing", file_name) @@ -39,17 +37,9 @@ format("Copying", file) end def format_cpresource(resource) format("Copying", resource) - end - - def format_error(message) - status_symbol(:error) + " " + red(message) - end - - def format_compile_error(file, file_path, reason, line, cursor) - "\n#{file_path}: #{red(reason)}\n\n#{line}\n#{cyan(cursor)}\n\n" end def format_generate_dsym(dsym) format("Generating '#{dsym}'") end