зеркало из https://github.com/github/ruby.git
[ruby/rdoc] Load YAML library for each test
https://github.com/ruby/rdoc/commit/a93e1bcd68
This commit is contained in:
Родитель
3b3fb73d61
Коммит
844a8355a1
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче