Skip to content

Commit 7c897af

Browse files
authored
Merge pull request #584 from aycabta/separated-test
Fix separated tests
2 parents 8194612 + 88e5c4a commit 7c897af

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

test/test_rdoc_generator_darkfish.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def test_generate_static_dry_run
135135
end
136136

137137
def test_install_rdoc_static_file
138-
src = Pathname(__FILE__)
138+
src = Pathname File.expand_path(__FILE__, @pwd)
139139
dst = File.join @tmpdir, File.basename(src)
140140
options = {}
141141

test/test_rdoc_text.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# frozen_string_literal: true
22

33
require 'rdoc/test_case'
4+
require 'timeout'
45

56
class TestRDocText < RDoc::TestCase
67

0 commit comments

Comments
 (0)