diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/AngularSpec.js | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/test/AngularSpec.js b/test/AngularSpec.js index 0a290381..61dc7cfc 100644 --- a/test/AngularSpec.js +++ b/test/AngularSpec.js @@ -133,6 +133,10 @@ describe('angular', function(){        expect(size('')).toBe(0);        expect(size('abc')).toBe(3);      }); + +    it('should not rely on length property of an object to determine its size', function() { +      expect(size({length:99})).toBe(1); +    });    });  | 
