diff options
Diffstat (limited to 'test/AngularSpec.js')
| -rw-r--r-- | test/AngularSpec.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/AngularSpec.js b/test/AngularSpec.js index 5da22174..5e7cb410 100644 --- a/test/AngularSpec.js +++ b/test/AngularSpec.js @@ -302,6 +302,11 @@ describe('angular', function() { expect(equals(/^abc/, /abc/)).toBe(false); expect(equals(/^abc/, '/^abc/')).toBe(false); }); + + it('should return false when comparing an object and an array', function() { + expect(equals({}, [])).toBe(false); + expect(equals([], {})).toBe(false); + }); }); describe('size', function() { |
