mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fix failures [ruby-dev:35937].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8eb12fc30e
commit
a2a32f9f02
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Sat Aug 30 23:51:01 2008 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
|
||||||
|
|
||||||
|
* test/rinda/test_tuplebag.rb (test_has_expires_eh): fix failures
|
||||||
|
[ruby-dev:35937].
|
||||||
|
|
||||||
Sat Aug 30 23:38:00 2008 Tanaka Akira <akr@fsij.org>
|
Sat Aug 30 23:38:00 2008 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* ext/dl/test/test_import.rb: fix character code.
|
* ext/dl/test/test_import.rb: fix character code.
|
||||||
|
|
|
@ -134,16 +134,16 @@ class TestTupleBag < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_has_expires_eh
|
def test_has_expires_eh
|
||||||
assert_equal false, @tb.has_expires?
|
assert !@tb.has_expires?
|
||||||
|
|
||||||
t = tup(:val, 1)
|
t = tup(:val, 1)
|
||||||
@tb.push t
|
@tb.push t
|
||||||
|
|
||||||
assert_equal true, @tb.has_expires?
|
assert @tb.has_expires?
|
||||||
|
|
||||||
t.renew Object.new
|
t.renew Object.new
|
||||||
|
|
||||||
assert_equal false, @tb.has_expires?
|
assert !@tb.has_expires?
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_push
|
def test_push
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue