File: fix_tests.patch

package info (click to toggle)
ruby-colorize 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 176 kB
  • sloc: ruby: 581; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 409 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Jonas Genannt <jonas.genannt@capi2name.de>
Description: fix autopkgtest, do not require from the source path
Forwarded: not-needed

--- a/test/test_colorize.rb
+++ b/test/test_colorize.rb
@@ -1,7 +1,7 @@
 # frozen_string_literal: true
 
 require 'minitest/autorun'
-require "#{File.dirname(__FILE__)}/../lib/colorize"
+require 'colorize'
 
 class TestColorize < Minitest::Test
   def test_blue_symbol