formatting

This commit is contained in:
Timo Hocker 2020-03-10 10:51:01 +01:00
parent cbe4589476
commit 148deb260d

View File

@ -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');
}); });