зеркало из https://github.com/github/ruby.git
* 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
This commit is contained in:
Родитель
343f8b02a1
Коммит
f587cf7906
|
@ -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(),
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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?)
|
||||
|
|
Загрузка…
Ссылка в новой задаче