[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/06: gnu: ruby-term-ansicolor: Fix test for Ruby 2.5.
From: |
Christopher Baines |
Subject: |
03/06: gnu: ruby-term-ansicolor: Fix test for Ruby 2.5. |
Date: |
Fri, 5 Oct 2018 16:28:14 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit 39ecb977d3e097ffe9c46390090bd197581ac072
Author: Christopher Baines <address@hidden>
Date: Sat Sep 29 11:17:02 2018 +0100
gnu: ruby-term-ansicolor: Fix test for Ruby 2.5.
* gnu/packages/ruby.scm (ruby-term-ansicolor)[arguments]: Add new fix-test
phase to fix a test that fails under Ruby 2.5.
---
gnu/packages/ruby.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index b216f3f..c039df1 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -2914,6 +2914,11 @@ Ruby's large and slower test/unit.")
(arguments
`(#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'fix-test
+ (lambda -
+ (substitute* "tests/hsl_triple_test.rb"
+ (("0\\\\\\.0%")
+ "0\\.?0?%"))))
(replace 'build
(lambda _
(invoke "gem" "build" "term-ansicolor.gemspec"))))))
- branch master updated (b0e829c -> 11ff2ad), Christopher Baines, 2018/10/05
- 02/06: gnu: ruby-shindo: Remove -rubygems flags., Christopher Baines, 2018/10/05
- 01/06: gnu: bioruby: Update to 1.5.2., Christopher Baines, 2018/10/05
- 03/06: gnu: ruby-term-ansicolor: Fix test for Ruby 2.5.,
Christopher Baines <=
- 05/06: gnu: Add ruby-mathn., Christopher Baines, 2018/10/05
- 06/06: gnu: ruby-sass: Update to 3.6.0., Christopher Baines, 2018/10/05
- 04/06: gnu: ruby-sass-spec: Fix spec expectation., Christopher Baines, 2018/10/05