aboutsummaryrefslogtreecommitdiffstats
path: root/community/crystal/fix-spec-colorize.patch
blob: 09f0b616bcd7ff4982c1b6bbf8a533bd3645de46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/spec/std/colorize_spec.cr	2019-12-18 15:49:14.000000000 +0100
+++ b/spec/std/colorize_spec.cr	2020-04-10 10:04:54.121547726 +0200
@@ -129,7 +129,7 @@
     colorize("hello", :red).inspect.should eq("\e[31m\"hello\"\e[0m")
   end
 
-  it "colorizes with surround" do
+  pending "colorizes with surround" do
     io = IO::Memory.new
     with_color_wrap.red.surround(io) do
       io << "hello"
@@ -177,7 +177,7 @@
     io.to_s.should eq("\e[31mhello\e[0mworld\e[31mbye\e[0m")
   end
 
-  it "colorizes with to_s" do
+  pending "colorizes with to_s" do
     ColorizeToS.new.colorize.red.to_s.should eq("\e[31mhello\e[0;34mworld\e[0;31mbye\e[0m")
   end