diff options
Diffstat (limited to 'test/AngularSpec.js')
| -rw-r--r-- | test/AngularSpec.js | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/test/AngularSpec.js b/test/AngularSpec.js index 415ff25d..344e2ead 100644 --- a/test/AngularSpec.js +++ b/test/AngularSpec.js @@ -88,9 +88,9 @@ describe('angular', function() {        expect(dst.a).not.toBe(src.a);      }); -    it("should deeply copy an object into an existing object", function() { +    it("should deeply copy an object into a non-existing object", function() {        var src = {a:{name:"value"}}; -      var dst = copy(src, dst); +      var dst = copy(src, undefined);        expect(src).toEqual({a:{name:"value"}});        expect(dst).toEqual(src);        expect(dst).not.toBe(src); | 
