File: fix_require_tests.patch

package info (click to toggle)
ruby-tilt 2.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 648 kB
  • sloc: ruby: 4,998; makefile: 7
file content (16 lines) | stat: -rw-r--r-- 448 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: use require statement in test helper
Author: Cédric Boutillier
Last-Update: 2025-01-27
Forwarded: not-needed

--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -2,7 +2,7 @@ require_relative 'coverage_helper'
 
 $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
 
-require_relative  '../lib/tilt'
+require 'tilt'
 Tilt.extract_fixed_locals = true
 
 ENV['MT_NO_PLUGINS'] = '1' # Work around stupid autoloading of plugins