improving angular.copy spec

This commit is contained in:
Igor Minar 2010-10-05 18:22:19 -07:00
parent 54090d7766
commit f24ec0c8f7

View file

@ -55,7 +55,8 @@ describe("copy", function(){
it("should copy primitives", function(){
expect(copy(null)).toEqual(null);
expect(copy('')).toEqual('');
expect(copy('')).toBe('');
expect(copy('lala')).toBe('lala');
expect(copy(123)).toEqual(123);
expect(copy([{key:null}])).toEqual([{key:null}]);
});