File: 0004-tests-drop-path-dependent-require.patch

package info (click to toggle)
ruby-hoe 3.22.1%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 464 kB
  • sloc: ruby: 2,370; makefile: 5
file content (16 lines) | stat: -rw-r--r-- 669 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: tests: drop require which relies on path
 This should fix running the tests during autopkgtest.
Author: Georg Faerber <georg@debian.org>
Last-Update: 2020-02-06
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: ruby-hoe/test/test_hoe_debug.rb
===================================================================
--- ruby-hoe.orig/test/test_hoe_debug.rb	2020-02-06 11:09:29.927135218 +0000
+++ ruby-hoe/test/test_hoe_debug.rb	2020-02-06 11:32:02.989700967 +0000
@@ -1,5 +1,4 @@
 require "hoe"
-require File.expand_path "lib/hoe/debug.rb" # ugh. avoid dupe warnings
 require "tmpdir"
 require "tempfile"
 require "minitest/autorun"