summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--test/rinda/test_rinda.rb1
-rw-r--r--test/rss/rss-assertions.rb2
-rw-r--r--test/rss/test_maker_itunes.rb4
4 files changed, 8 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 6a67b9241b..6b5dd6bd7e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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?)