diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-02-12 17:12:57 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-02-12 17:13:06 +0900 |
commit | 844a8355a1ee22d67e91ae0553851d0285595cd0 (patch) | |
tree | 20bd0c85049ff4c9d6c3d9ff0c5665d630e868a1 | |
parent | 3b3fb73d6107f64b4c71472de36c4debaf41cd42 (diff) | |
download | ruby-844a8355a1ee22d67e91ae0553851d0285595cd0.tar.gz |
[ruby/rdoc] Load YAML library for each test
https://github.com/ruby/rdoc/commit/a93e1bcd68
-rw-r--r-- | test/rdoc/test_rdoc_options.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/rdoc/test_rdoc_options.rb b/test/rdoc/test_rdoc_options.rb index 0348725ef3..009dcdd998 100644 --- a/test/rdoc/test_rdoc_options.rb +++ b/test/rdoc/test_rdoc_options.rb @@ -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 |