From 844a8355a1ee22d67e91ae0553851d0285595cd0 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 12 Feb 2022 17:12:57 +0900 Subject: [PATCH] [ruby/rdoc] Load YAML library for each test https://github.com/ruby/rdoc/commit/a93e1bcd68 --- test/rdoc/test_rdoc_options.rb | 4 ++++ 1 file changed, 4 insertions(+) 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