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:
parent
3b3fb73d61
commit
844a8355a1
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue