diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2010-01-28 09:21:18 +0100 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2010-01-28 09:21:18 +0100 |
commit | 362d18b55b43e0f560ce8052464b4ab40e9376b1 (patch) | |
tree | 81b534921fc8d763a28c569d00c96e1e23cc2b3f /timestring.rb | |
parent | 17e73f44ca8b7a48a1c863d451464ac0fb4265c2 (diff) |
parenthesis to avoid warnings
Diffstat (limited to 'timestring.rb')
-rw-r--r-- | timestring.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/timestring.rb b/timestring.rb index 436f1f0..78168bd 100644 --- a/timestring.rb +++ b/timestring.rb @@ -98,9 +98,9 @@ class TimeStringTest < Test::Unit::TestCase b = TimeString.new("2010-01-22","1:00") assert(a == b) assert(a === b) - assert(a.equal? b) - assert(a.eql? b) - assert([a].include? b) + assert(a.equal?(b)) + assert(a.eql?(b)) + assert([a].include?(b)) assert_equal([a],[a,b].uniq) end end |