File: fix-relative-path.patch

package info (click to toggle)
ruby-sinatra 4.1.1-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,928 kB
  • sloc: ruby: 17,647; sh: 25; makefile: 8
file content (23 lines) | stat: -rw-r--r-- 741 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Debian Ruby Extras Maintainers
 <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Date: Tue, 7 Apr 2020 21:05:00 -0300
Subject: fix-relative-path

===================================================================
---
 test/indifferent_hash_test.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/indifferent_hash_test.rb b/test/indifferent_hash_test.rb
index 2105c18..c8c5915 100644
--- a/test/indifferent_hash_test.rb
+++ b/test/indifferent_hash_test.rb
@@ -4,7 +4,7 @@
 #
 require 'minitest/autorun' unless defined?(Minitest)
 
-require_relative '../lib/sinatra/indifferent_hash'
+require 'sinatra/indifferent_hash'
 
 class TestIndifferentHashBasics < Minitest::Test
   def test_flattened_constructor