@@ -14,10 +14,12 @@ const property1 = "property1";
1414const property2 = "property2" ;
1515
1616Deno . test ( "Comparing same string yields nothing" , ( ) =>
17- assertEquals ( flat ( compare ( "magic" ) ( "magic" ) ) , EMPTY_ARRAY ) ) ;
17+ assertEquals ( flat ( compare ( "magic" ) ( "magic" ) ) , EMPTY_ARRAY ) ,
18+ ) ;
1819
1920Deno . test ( "Comparing same object yields nothing" , ( ) =>
20- assertEquals ( flat ( compare ( EMPTY_OBJECT ) ( EMPTY_OBJECT ) ) , EMPTY_ARRAY ) ) ;
21+ assertEquals ( flat ( compare ( EMPTY_OBJECT ) ( EMPTY_OBJECT ) ) , EMPTY_ARRAY ) ,
22+ ) ;
2123
2224Deno . test ( "Comparing different string yields `UpdateDifference`" , ( ) =>
2325 assertEquals ( flat ( compare ( "magic" ) ( "cat" ) ) , [
@@ -27,10 +29,12 @@ Deno.test("Comparing different string yields `UpdateDifference`", () =>
2729 path : [ ] ,
2830 right : "cat" ,
2931 } ,
30- ] ) ) ;
32+ ] ) ,
33+ ) ;
3134
3235Deno . test ( "Comparing equal arrays yields nothing" , ( ) =>
33- assertEquals ( flat ( compare ( [ "magic" ] ) ( [ "magic" ] ) ) , EMPTY_ARRAY ) ) ;
36+ assertEquals ( flat ( compare ( [ "magic" ] ) ( [ "magic" ] ) ) , EMPTY_ARRAY ) ,
37+ ) ;
3438
3539Deno . test ( "Comparing different arrays yields `UpdateDifference`" , ( ) =>
3640 assertEquals ( flat ( compare ( [ "magic" ] ) ( [ "cat" ] ) ) , [
@@ -40,13 +44,15 @@ Deno.test("Comparing different arrays yields `UpdateDifference`", () =>
4044 path : [ 0 ] ,
4145 right : "cat" ,
4246 } ,
43- ] ) ) ;
47+ ] ) ,
48+ ) ;
4449
4550Deno . test ( "Comparing equal objects yields nothing" , ( ) =>
4651 assertEquals (
4752 flat ( compare ( { [ property1 ] : "magic" } ) ( { [ property1 ] : "magic" } ) ) ,
4853 EMPTY_ARRAY ,
49- ) ) ;
54+ ) ,
55+ ) ;
5056
5157Deno . test (
5258 "Comparing objects with different property values yields `UpdateDifference`" ,
@@ -85,7 +91,8 @@ Deno.test("Comparing array with new items yields `CreateDifference`", () =>
8591 ] ) ,
8692 ) ,
8793 [ { kind : CREATE_KIND , path : [ 1 ] , right : { [ property2 ] : "cat" } } ] ,
88- ) ) ;
94+ ) ,
95+ ) ;
8996
9097Deno . test ( "Comparing array with less items yields `DeleteDifference`" , ( ) =>
9198 assertEquals (
@@ -101,13 +108,16 @@ Deno.test("Comparing array with less items yields `DeleteDifference`", () =>
101108 path : [ 1 ] ,
102109 } ,
103110 ] ,
104- ) ) ;
111+ ) ,
112+ ) ;
105113
106114Deno . test ( "Comparing equal Date objects yields nothing" , ( ) =>
107- assertEquals ( flat ( compare ( new Date ( 0 ) ) ( new Date ( 0 ) ) ) , EMPTY_ARRAY ) ) ;
115+ assertEquals ( flat ( compare ( new Date ( 0 ) ) ( new Date ( 0 ) ) ) , EMPTY_ARRAY ) ,
116+ ) ;
108117
109118Deno . test ( "Comparing equal RegExp objects yields nothing" , ( ) =>
110- assertEquals ( flat ( compare ( / c o v e n / gu) ( / c o v e n / gu) ) , EMPTY_ARRAY ) ) ;
119+ assertEquals ( flat ( compare ( / c o v e n / gu) ( / c o v e n / gu) ) , EMPTY_ARRAY ) ,
120+ ) ;
111121
112122Deno . test ( "Comparing equal URL objects yields nothing" , ( ) =>
113123 assertEquals (
@@ -117,7 +127,8 @@ Deno.test("Comparing equal URL objects yields nothing", () =>
117127 ) ,
118128 ) ,
119129 EMPTY_ARRAY ,
120- ) ) ;
130+ ) ,
131+ ) ;
121132
122133Deno . test ( "Comparing equal `Error` objects yields nothing" , ( ) =>
123134 assertEquals (
@@ -127,7 +138,8 @@ Deno.test("Comparing equal `Error` objects yields nothing", () =>
127138 ) ,
128139 ) ,
129140 EMPTY_ARRAY ,
130- ) ) ;
141+ ) ,
142+ ) ;
131143
132144Deno . test ( "Comparing equal `Map` objects yields nothing" , ( ) =>
133145 assertEquals (
@@ -137,13 +149,15 @@ Deno.test("Comparing equal `Map` objects yields nothing", () =>
137149 ) ,
138150 ) ,
139151 EMPTY_ARRAY ,
140- ) ) ;
152+ ) ,
153+ ) ;
141154
142155Deno . test ( "Comparing equal `Set` objects yields nothing" , ( ) =>
143156 assertEquals (
144157 flat ( compare ( new Set ( [ "magic" ] ) ) ( new Set ( [ "magic" ] ) ) ) ,
145158 EMPTY_ARRAY ,
146- ) ) ;
159+ ) ,
160+ ) ;
147161
148162Deno . test (
149163 "Comparing left `null` and right object yields `UpdateDifference`" ,
@@ -247,13 +261,15 @@ Deno.test("Comparing 0 with -0 should yield `UpdateDifference`", () =>
247261 path : [ ] ,
248262 right : 0 ,
249263 } ,
250- ] ) ) ;
264+ ] ) ,
265+ ) ;
251266
252267Deno . test ( "Comparing iterator to itself" , ( ) =>
253268 assertEquals (
254269 flat ( compare ( EMPTY_ITERABLE_ITERATOR ) ( EMPTY_ITERABLE_ITERATOR ) ) ,
255270 [ ] ,
256- ) ) ;
271+ ) ,
272+ ) ;
257273
258274Deno . test ( "Comparing iterator to plain object" , ( ) =>
259275 assertEquals ( flat ( compare ( EMPTY_ITERABLE_ITERATOR ) ( EMPTY_OBJECT ) ) , [
@@ -263,4 +279,5 @@ Deno.test("Comparing iterator to plain object", () =>
263279 path : [ ] ,
264280 right : EMPTY_OBJECT ,
265281 } ,
266- ] ) ) ;
282+ ] ) ,
283+ ) ;
0 commit comments