danielfm/jshamcrest — Issue #8: equalTo for associative arrays?
Author: davidparsson
Created: 2012-01-20 08:39:54+00:00
State: open

Hi, and thank you for a great library.

I'm wondering, is there a decision behind the fact that this assertion fails:
```javascript
assertThat({}, equalTo({}));
```
If so, how would you recommend to verify that two (quite complex) associative arrays contains the same keys/values?

To me it would make more sense if the assertion above did not fail. Comparing that it's the same instance could rather be done in this way:
```javascript
assertThat({}, sameAs({}));
```