diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-18 00:44:38 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-18 00:44:38 +0000 |
commit | 64d35eb6210a81249fd41abebdd47d5c90652457 (patch) | |
tree | c466b2a62321b2945c786dc0b334ec03e2a27475 /test/psych/test_yaml.rb | |
parent | 131696f48f2f089a08a18df8b83e1c73c5770f6f (diff) | |
download | ruby-64d35eb6210a81249fd41abebdd47d5c90652457.tar.gz |
* 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_yaml.rb')
-rw-r--r-- | test/psych/test_yaml.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/psych/test_yaml.rb b/test/psych/test_yaml.rb index ba86807aaf..cd3e8ee72c 100644 --- a/test/psych/test_yaml.rb +++ b/test/psych/test_yaml.rb @@ -250,7 +250,6 @@ EOY def test_spec_mapping_between_sequences # Complex key #1 - dj = Date.new( 2001, 7, 23 ) assert_parse_only( { [ 'Detroit Tigers', 'Chicago Cubs' ] => [ Date.new( 2001, 7, 23 ) ], [ 'New York Yankees', 'Atlanta Braves' ] => [ Date.new( 2001, 7, 2 ), Date.new( 2001, 8, 12 ), Date.new( 2001, 8, 14 ) ] }, <<EOY @@ -606,7 +605,7 @@ EOY def test_spec_domain_prefix customer_proc = proc { |type, val| if Hash === val - scheme, domain, type = type.split( ':', 3 ) + _, _, type = type.split( ':', 3 ) val['type'] = "domain #{type}" val else |