Thank you for the alternative methods. Can anyone shed some light on why
it was removed in the first place? This really complicates things. I
wasn't expecting all this rewriting after upgrading watir. Otherwise I
would have stuck with 1.4

Mike

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris McMahon
Sent: Tuesday, July 11, 2006 2:26 PM
To: [email protected]
Subject: Re: [Wtr-general] assert_arrayEquals

Dang. I didn't think of that.  I've got some refactoring to do.  :)
This'd work though:

require 'test/unit'

class Foo < Test::Unit::TestCase
def test_foo
array_1 = [1,2,3]
array_2 = [1,2,3]

assert_equal(array_1 - array_2 ,[])
assert_equal(array_2 - array_1 ,[])
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to