summaryrefslogtreecommitdiff
path: root/test/psych/test_string.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-18 00:44:38 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-18 00:44:38 +0000
commit64d35eb6210a81249fd41abebdd47d5c90652457 (patch)
treec466b2a62321b2945c786dc0b334ec03e2a27475 /test/psych/test_string.rb
parent131696f48f2f089a08a18df8b83e1c73c5770f6f (diff)
* test/test/psych/test_string.rb: remove unused variables.
* test/test/psych/test_yaml.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/psych/test_string.rb')
-rw-r--r--test/psych/test_string.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/psych/test_string.rb b/test/psych/test_string.rb
index 01fc0e4bb0b..f1f061b305f 100644
--- a/test/psych/test_string.rb
+++ b/test/psych/test_string.rb
@@ -137,7 +137,7 @@ string: &70121654388580 !ruby/string
ivar = "on rock and roll"
food.instance_variable_set(:@we_built_this_city, ivar)
- str = Psych.load Psych.dump food
+ Psych.load Psych.dump food
assert_equal ivar, food.instance_variable_get(:@we_built_this_city)
end