diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-29 08:37:39 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-29 08:37:39 +0000 |
commit | f587cf790611bd05a31e8d894feed2b3dc20c7c7 (patch) | |
tree | 37ec9c05cce9217600fc6d9f70066620b202c761 | |
parent | 343f8b02a1c65ee968c483d6b7bfbc45e63150c3 (diff) | |
download | ruby-f587cf790611bd05a31e8d894feed2b3dc20c7c7.tar.gz |
* test/rinda/test_rinda.rb: removed useless assignment variables.
* test/rss/rss-assertions.rb: ditto.
* test/rss/test_maker_itunes.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | test/rinda/test_rinda.rb | 1 | ||||
-rw-r--r-- | test/rss/rss-assertions.rb | 2 | ||||
-rw-r--r-- | test/rss/test_maker_itunes.rb | 4 |
4 files changed, 8 insertions, 5 deletions
@@ -1,3 +1,9 @@ +Fri Aug 29 17:36:58 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com> + + * 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@80x24.org> * string.c: revert part of r47311, add rb_vm_fstring_table(), diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb index 3c91eef7cf..3f7dc96a1b 100644 --- a/test/rinda/test_rinda.rb +++ b/test/rinda/test_rinda.rb @@ -37,7 +37,6 @@ class MockClock def _forward(n=nil) now ,= @ts.take([nil, :now]) @now = now + n - n = @reso if n.nil? @ts.write([@now, :now]) end diff --git a/test/rss/rss-assertions.rb b/test/rss/rss-assertions.rb index 5763a55eb1..f2e9dc07c9 100644 --- a/test/rss/rss-assertions.rb +++ b/test/rss/rss-assertions.rb @@ -1070,7 +1070,7 @@ EOA target.uri = "http://example.com/~me/" target.email = "me@example.com" - target = targets.new_child + targets.new_child end end end diff --git a/test/rss/test_maker_itunes.rb b/test/rss/test_maker_itunes.rb index f19e30d012..0d47171fdd 100644 --- a/test/rss/test_maker_itunes.rb +++ b/test/rss/test_maker_itunes.rb @@ -85,9 +85,7 @@ module RSS 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?) |