1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/rdoc] Load YAML library for each test

https://github.com/ruby/rdoc/commit/a93e1bcd68
This commit is contained in:
Nobuyoshi Nakada 2022-02-12 17:12:57 +09:00 committed by git
parent 3b3fb73d61
commit 844a8355a1

View file

@ -56,6 +56,8 @@ class TestRDocOptions < RDoc::TestCase
end
def test_to_yaml
RDoc.load_yaml
coder = YAML.load(@options.to_yaml)
encoding = 'UTF-8'
@ -87,6 +89,8 @@ class TestRDocOptions < RDoc::TestCase
end
def test_to_yaml_trim_paths
RDoc.load_yaml
subdir = nil
coder = nil