From 362d18b55b43e0f560ce8052464b4ab40e9376b1 Mon Sep 17 00:00:00 2001 From: Benjamin Kellermann Date: Thu, 28 Jan 2010 09:21:18 +0100 Subject: parenthesis to avoid warnings --- timestring.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'timestring.rb') 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 -- cgit v1.2.3