diff options
| author | Igor Minar | 2010-10-05 18:22:19 -0700 |
|---|---|---|
| committer | Igor Minar | 2010-10-16 22:10:01 -0700 |
| commit | f24ec0c8f74c85edb3991a8ca6f35056cd084fae (patch) | |
| tree | 7c061e0ab9ef3a08ffd13eb3a1de7bbde9c468e4 | |
| parent | 54090d776613f9e7bac6a77a037412b285222d58 (diff) | |
| download | angular.js-f24ec0c8f74c85edb3991a8ca6f35056cd084fae.tar.bz2 | |
improving angular.copy spec
| -rw-r--r-- | test/AngularSpec.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/AngularSpec.js b/test/AngularSpec.js index 255da3bb..ef81d030 100644 --- a/test/AngularSpec.js +++ b/test/AngularSpec.js @@ -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}]); }); |
