diff options
Diffstat (limited to 'dev-ruby/termcolor/files/termcolor-1.2.1-fix-spec.patch')
-rw-r--r-- | dev-ruby/termcolor/files/termcolor-1.2.1-fix-spec.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-ruby/termcolor/files/termcolor-1.2.1-fix-spec.patch b/dev-ruby/termcolor/files/termcolor-1.2.1-fix-spec.patch new file mode 100644 index 000000000000..411f29dbf4e7 --- /dev/null +++ b/dev-ruby/termcolor/files/termcolor-1.2.1-fix-spec.patch @@ -0,0 +1,19 @@ +commit c455099b273c514c0ae8e5aad485be207a4e933c +Author: jugyo <jugyo.org@gmail.com> +Date: Mon Aug 30 23:59:04 2010 +0900 + + fixed spec + +diff --git a/spec/termcolor_spec.rb b/spec/termcolor_spec.rb +index 888a13d..50d403c 100644 +--- a/spec/termcolor_spec.rb ++++ b/spec/termcolor_spec.rb +@@ -27,7 +27,7 @@ module TermColor + it 'should parse 3' do + text = TermColor.parse('aa<30>bbbbbbb<32>cccc<90>ddd</90>c</32>b</30>aaa') + puts text +- text.should == "aa\e[30mbbbbbbb\e[32mcccc\e[90mddd\e[0m\e[32mc\e[0m\e[30mb\e[0maaa" ++ text.should == "aa\e[30mbbbbbbb\e[32mcccc\e[90mddd\e[0m\e[30m\e[32mc\e[0m\e[30mb\e[0maaa" + end + + it 'should parse 4' do |