Skip to content

Commit a93e1bc

Browse files
committed
Load YAML library for each test
1 parent adee2ba commit a93e1bc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/rdoc/test_rdoc_options.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ def test_dry_run_default
5656
end
5757

5858
def test_to_yaml
59+
RDoc.load_yaml
60+
5961
coder = YAML.load(@options.to_yaml)
6062

6163
encoding = 'UTF-8'
@@ -87,6 +89,8 @@ def test_to_yaml
8789
end
8890

8991
def test_to_yaml_trim_paths
92+
RDoc.load_yaml
93+
9094
subdir = nil
9195
coder = nil
9296

0 commit comments

Comments
 (0)