Skip to content

Commit 6b148ab

Browse files
author
Sebastian Roming
committed
fixed XO findings in test.js
1 parent 0881b25 commit 6b148ab

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

test.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1+
'use strict';
2+
/* eslint-disable array-callback-return, guard-for-in */
3+
14
import test from 'ava';
25
import m from '.';
36

4-
const objectA = { 'a': 'b', 'c': 'd' };
5-
const objectB = { 'c': 'd' };
7+
const objectA = {a: 'b', c: 'd'};
8+
const objectB = {c: 'd'};
69

710
test('detect the delta length', t => {
811
t.is(m(objectA, objectB).length, 1);
912
});
1013

1114
test('detect the correct delta object', t => {
12-
t.deepEqual(m.json(objectA, objectB), { 'a': 'b' });
15+
t.deepEqual(m.json(objectA, objectB), {a: 'b'});
1316
});

0 commit comments

Comments
 (0)