summaryrefslogtreecommitdiff
path: root/test/psych/test_deprecated.rb
diff options
context:
space:
mode:
authortenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-14 17:07:51 +0000
committertenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-14 17:07:51 +0000
commitd7f06a665c8e5b4ec83b6baa4a7532fc7ad7f24a (patch)
tree69cdc9936dcf7a24515547ab11dc263a4cc6f887 /test/psych/test_deprecated.rb
parent0b8f727d7b3cd162ccba570d17ebf1ae72bd120a (diff)
* test/psych/helper.rb: envutil is not available outside Ruby, so
port the functions from envutil to the test helper. * test/psych/test_deprecated.rb: ditto * test/psych/test_encoding.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/psych/test_deprecated.rb')
-rw-r--r--test/psych/test_deprecated.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/psych/test_deprecated.rb b/test/psych/test_deprecated.rb
index 1d853e1371..fd2d3299e3 100644
--- a/test/psych/test_deprecated.rb
+++ b/test/psych/test_deprecated.rb
@@ -147,7 +147,7 @@ module Psych
end
class YamlAs
- EnvUtil.suppress_warning do
+ TestCase.suppress_warning do
psych_yaml_as 'helloworld' # this should be yaml_as but to avoid syck
end
end