formatting
This commit is contained in:
parent
cbe4589476
commit
148deb260d
@ -32,9 +32,9 @@ test ('try_parse_json should fail', (t) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
test ('copy object', (t) => {
|
test ('copy object', (t) => {
|
||||||
const obj = {foo:'bar'};
|
const obj = { foo: 'bar' };
|
||||||
const copy = util.copy_object(obj);
|
const copy = util.copy_object (obj);
|
||||||
copy.foo = 'baz';
|
copy.foo = 'baz';
|
||||||
t.is(copy.foo, 'baz');
|
t.is (copy.foo, 'baz');
|
||||||
t.is(obj.foo, 'bar');
|
t.is (obj.foo, 'bar');
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user