[Proto-Scripty] Re: Unit Testing: asserting hashes equal

2008-09-29 Thread Simon Harris

http://github.com/madrobby/scriptaculous/commits/master/src/unittest.js

and

http://script.aculo.us/dist/scriptaculous-js-1.8.1.tar.gz

On Sep 29, 12:26 am, kangax <[EMAIL PROTECTED]> wrote:
> On Sep 28, 6:40 am, Simon Harris <[EMAIL PROTECTED]> wrote:
>
> > I've just upgraded from a VERY old version of unittest.js which
> > included an assertHashEqual() method, to the latest version which has
> > nothing even remotely similar. I've basically restored to using
> > assertEqual($H(expected).inspect(), $H(actual).inspect()) but that's
> > not ideal. What does everyone else do?
>
> Where did you get a new version from?
> There's an `assertHashEqual` in a 
> trunk:http://github.com/sstephenson/prototype/tree/master/test/lib/assets/u...
>
> --
> kangax
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---



[Proto-Scripty] Re: Unit Testing: asserting hashes equal

2008-09-28 Thread kangax

On Sep 28, 6:40 am, Simon Harris <[EMAIL PROTECTED]> wrote:
> I've just upgraded from a VERY old version of unittest.js which
> included an assertHashEqual() method, to the latest version which has
> nothing even remotely similar. I've basically restored to using
> assertEqual($H(expected).inspect(), $H(actual).inspect()) but that's
> not ideal. What does everyone else do?

Where did you get a new version from?
There's an `assertHashEqual` in a trunk:
http://github.com/sstephenson/prototype/tree/master/test/lib/assets/unittest.js#L308

--
kangax
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---