jprichardson / terst

A JavaScript testing component with a terse syntax. Supported in both Node.js and the browser.
MIT License
2 stars 0 forks source link

Adding _.isEqual support #1

Open sidazhang opened 10 years ago

sidazhang commented 10 years ago

So that I don't need to do this

T(_.isEqual(requireAddrIds, [{
        addr_hash160: '95da22900d1c2dd7aebca199512671cca02ba120',
        addr_type: 'pubkeyhash'
      }, {
        addr_hash160: 'dff62d3cf8bdb1bd236b69303e61759db96ffc25',
        addr_type: 'pubkeyhash'
      }]), requireAddrIds)
jprichardson commented 10 years ago

OK with the name "DEQ" as in deep equals?

On Friday, February 14, 2014, sidazhang notifications@github.com wrote:

So that I don't need to do this

T(_.isEqual(requireAddrIds, [{ addr_hash160: '95da22900d1c2dd7aebca199512671cca02ba120', addr_type: 'pubkeyhash' }, { addr_hash160: 'dff62d3cf8bdb1bd236b69303e61759db96ffc25', addr_type: 'pubkeyhash' }]), requireAddrIds)

— Reply to this email directly or view it on GitHubhttps://github.com/jprichardson/terst/issues/1 .

Follow me on Twitter: http://twitter.com/jprichardson

sidazhang commented 10 years ago

I think that's a good idea!! On Feb 14, 2014 9:28 PM, "JP Richardson" notifications@github.com wrote:

OK with the name "DEQ" as in deep equals?

On Friday, February 14, 2014, sidazhang notifications@github.com wrote:

So that I don't need to do this

T(_.isEqual(requireAddrIds, [{ addr_hash160: '95da22900d1c2dd7aebca199512671cca02ba120', addr_type: 'pubkeyhash' }, { addr_hash160: 'dff62d3cf8bdb1bd236b69303e61759db96ffc25', addr_type: 'pubkeyhash' }]), requireAddrIds)

Reply to this email directly or view it on GitHub< https://github.com/jprichardson/terst/issues/1> .

Follow me on Twitter: http://twitter.com/jprichardson

Reply to this email directly or view it on GitHubhttps://github.com/jprichardson/terst/issues/1#issuecomment-35147981 .