|
24 | 24 | "[\e[32m#{uuid}\e[0m] Running \e[33;1mecho hello\e[0m\n", |
25 | 25 | "[\e[32m#{uuid}\e[0m] \thello\n", |
26 | 26 | "[\e[32m#{uuid}\e[0m] Finished in x seconds with exit status 0 " \ |
27 | | - "(\e[32;1msuccessful\e[0m)\n" |
| 27 | + "(\e[32;1msuccessful\e[0m)\n" |
28 | 28 | ]) |
29 | 29 | end |
30 | 30 |
|
|
58 | 58 | "[\e[32m#{uuid}\e[0m] Running \e[33;1mruby #{non_zero_exit}\e[0m\n", |
59 | 59 | "[\e[32m#{uuid}\e[0m] \tnooo\n", |
60 | 60 | "[\e[32m#{uuid}\e[0m] Finished in x seconds with exit status 1 " \ |
61 | | - "(\e[31;1mfailed\e[0m)\n" |
| 61 | + "(\e[31;1mfailed\e[0m)\n" |
62 | 62 | ]) |
63 | 63 | end |
64 | 64 |
|
|
121 | 121 | "[\e[32m#{uuid}\e[0m] Running \e[33;1mruby #{phased_output}\e[0m\n", |
122 | 122 | "[\e[32m#{uuid}\e[0m] \t..........\n", |
123 | 123 | "[\e[32m#{uuid}\e[0m] Finished in x seconds with exit status 0 " \ |
124 | | - "(\e[32;1msuccessful\e[0m)\n" |
| 124 | + "(\e[32;1msuccessful\e[0m)\n" |
125 | 125 | ]) |
126 | 126 | end |
127 | 127 |
|
128 | 128 | it "does not persist environment variables", |
129 | | - unless: RSpec::Support::OS.windows? do |
| 129 | + unless: RSpec::Support::OS.windows? do |
130 | 130 | output = StringIO.new |
131 | 131 | command = TTY::Command.new(output: output) |
132 | 132 |
|
@@ -229,7 +229,7 @@ def generic_colored_log_lines(prefix: nil) |
229 | 229 | "[\e[32m#{prefix}\e[0m] Running \e[33;1mecho hello\e[0m\n", |
230 | 230 | "[\e[32m#{prefix}\e[0m] \thello\n", |
231 | 231 | "[\e[32m#{prefix}\e[0m] Finished in x seconds with exit status 0 " \ |
232 | | - "(\e[32;1msuccessful\e[0m)\n" |
| 232 | + "(\e[32;1msuccessful\e[0m)\n" |
233 | 233 | ] |
234 | 234 | else |
235 | 235 | [ |
|
0 commit comments