summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_specification.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-05-17 11:59:59 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-05-17 12:00:05 +0900
commit8e91b969df08b7a2eb27a5d6d38733eea42dc7ad (patch)
tree2478d5e7f2e4c99e04cf4678ce998343c1d040b2 /test/rubygems/test_gem_specification.rb
parentda5b28396397ace84d914cb188055cbeb46b8725 (diff)
Workaround with fbb4e3f96c10de2240f2d87eac19cf6f62f65fea
Diffstat (limited to 'test/rubygems/test_gem_specification.rb')
-rw-r--r--test/rubygems/test_gem_specification.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_specification.rb b/test/rubygems/test_gem_specification.rb
index d014eaea36..6e6d92a7de 100644
--- a/test/rubygems/test_gem_specification.rb
+++ b/test/rubygems/test_gem_specification.rb
@@ -2649,7 +2649,7 @@ end
yaml_str = @a1.to_yaml
- same_spec = YAML.load yaml_str
+ same_spec = YAML.unsafe_load yaml_str
assert_equal Gem::Platform.new('powerpc-darwin7'), same_spec.platform
assert_equal 'powerpc-darwin7.9.0', same_spec.original_platform