summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2024-01-31 11:01:31 +0900
committergit <svn-admin@ruby-lang.org>2024-01-31 05:56:39 +0000
commit3de2ab7fdb5201133718b45dfdeb82f4794f99bc (patch)
treeee39f9c2d3a8e713a427a76fae001bbb22ac66b0 /test
parent7c8f9603b1dcacb7f04b559dadac905e167a5cc1 (diff)
[ruby/yaml] Make PStore support as optional
https://github.com/ruby/yaml/commit/da421ce46f
Diffstat (limited to 'test')
-rw-r--r--test/yaml/test_store.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/yaml/test_store.rb b/test/yaml/test_store.rb
index 74557db964..d389530271 100644
--- a/test/yaml/test_store.rb
+++ b/test/yaml/test_store.rb
@@ -177,4 +177,4 @@ class YAMLStoreTest < Test::Unit::TestCase
end
assert_equal(indentation_3_yaml, File.read(@yaml_store_file), bug12800)
end
-end
+end if defined?(::YAML::Store)