diff --git a/test/index.js b/test/index.js index 92b2860..e273313 100644 --- a/test/index.js +++ b/test/index.js @@ -32,9 +32,9 @@ test ('try_parse_json should fail', (t) => { }); test ('copy object', (t) => { - const obj = {foo:'bar'}; - const copy = util.copy_object(obj); + const obj = { foo: 'bar' }; + const copy = util.copy_object (obj); copy.foo = 'baz'; - t.is(copy.foo, 'baz'); - t.is(obj.foo, 'bar'); + t.is (copy.foo, 'baz'); + t.is (obj.foo, 'bar'); });