ruby-changes:35231
From: hsbt <ko1@a...>
Date: Fri, 29 Aug 2014 17:37:52 +0900 (JST)
Subject: [ruby-changes:35231] hsbt:r47313 (trunk): * test/rinda/test_rinda.rb: removed useless assignment variables.
hsbt 2014-08-29 17:37:39 +0900 (Fri, 29 Aug 2014) New Revision: 47313 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47313 Log: * test/rinda/test_rinda.rb: removed useless assignment variables. * test/rss/rss-assertions.rb: ditto. * test/rss/test_maker_itunes.rb: ditto. Modified files: trunk/ChangeLog trunk/test/rinda/test_rinda.rb trunk/test/rss/rss-assertions.rb trunk/test/rss/test_maker_itunes.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 47312) +++ ChangeLog (revision 47313) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Fri Aug 29 17:36:58 2014 SHIBATA Hiroshi <shibata.hiroshi@g...> + + * test/rinda/test_rinda.rb: removed useless assignment variables. + * test/rss/rss-assertions.rb: ditto. + * test/rss/test_maker_itunes.rb: ditto. + Fri Aug 29 16:18:26 2014 Eric Wong <e@8...> * string.c: revert part of r47311, add rb_vm_fstring_table(), Index: test/rss/rss-assertions.rb =================================================================== --- test/rss/rss-assertions.rb (revision 47312) +++ test/rss/rss-assertions.rb (revision 47313) @@ -1070,7 +1070,7 @@ EOA https://github.com/ruby/ruby/blob/trunk/test/rss/rss-assertions.rb#L1070 target.uri = "http://example.com/~me/" target.email = "me@e..." - target = targets.new_child + targets.new_child end end end Index: test/rss/test_maker_itunes.rb =================================================================== --- test/rss/test_maker_itunes.rb (revision 47312) +++ test/rss/test_maker_itunes.rb (revision 47313) @@ -85,9 +85,7 @@ module RSS https://github.com/ruby/ruby/blob/trunk/test/rss/test_maker_itunes.rb#L85 end target = chain_reader(rss20, feed_readers) if [true, false].include?(value) - feed_expected_value = value = value ? "yes" : "no" - else - feed_expected_value = value + value = value ? "yes" : "no" end assert_equal(value, target.itunes_block) assert_equal(boolean_value, target.itunes_block?) Index: test/rinda/test_rinda.rb =================================================================== --- test/rinda/test_rinda.rb (revision 47312) +++ test/rinda/test_rinda.rb (revision 47313) @@ -37,7 +37,6 @@ class MockClock https://github.com/ruby/ruby/blob/trunk/test/rinda/test_rinda.rb#L37 def _forward(n=nil) now ,= @ts.take([nil, :now]) @now = now + n - n = @reso if n.nil? @ts.write([@now, :now]) end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/