@@ -299,32 +299,32 @@ block. The outputs below shows the contrast between setting the
299299inlineDiff = true ;
300300expect (
301301 {
302- ' John Doe ' : new Person (' John Doe' , 42 ),
303- ' Jane Doe ' : new Person (' Janie Doe' , 24 )
302+ JohnDoe : new Person (' John Doe' , 42 ),
303+ JaneDoe : new Person (' Janie Doe' , 24 )
304304 },
305305 ' to equal' ,
306306 {
307- ' John Doe ' : new Person (' John Doe' , 42 ),
308- ' Jane Doe ' : new Person (' Jane Doe' , 24 )
307+ JohnDoe : new Person (' John Doe' , 42 ),
308+ JaneDoe : new Person (' Jane Doe' , 24 )
309309 }
310310);
311311```
312312
313313``` output
314314expected
315315{
316- 'John Doe' : new Person('John Doe', 42),
317- 'Jane Doe' : new Person('Janie Doe', 24)
316+ JohnDoe : new Person('John Doe', 42),
317+ JaneDoe : new Person('Janie Doe', 24)
318318}
319319to equal
320320{
321- 'John Doe' : new Person('John Doe', 42),
322- 'Jane Doe' : new Person('Jane Doe', 24)
321+ JohnDoe : new Person('John Doe', 42),
322+ JaneDoe : new Person('Jane Doe', 24)
323323}
324324
325325{
326- 'John Doe' : new Person('John Doe', 42),
327- 'Jane Doe' : new Person(
326+ JohnDoe : new Person('John Doe', 42),
327+ JaneDoe : new Person(
328328 'Janie Doe', // should be 'Jane Doe'
329329 // -Janie Doe
330330 // +Jane Doe
@@ -337,39 +337,39 @@ to equal
337337inlineDiff = false ;
338338expect (
339339 {
340- ' John Doe ' : new Person (' John Doe' , 42 ),
341- ' Jane Doe ' : new Person (' Janie Doe' , 24 )
340+ JohnDoe : new Person (' John Doe' , 42 ),
341+ JaneDoe : new Person (' Janie Doe' , 24 )
342342 },
343343 ' to equal' ,
344344 {
345- ' John Doe ' : new Person (' John Doe' , 42 ),
346- ' Jane Doe ' : new Person (' Jane Doe' , 24 )
345+ JohnDoe : new Person (' John Doe' , 42 ),
346+ JaneDoe : new Person (' Jane Doe' , 24 )
347347 }
348348);
349349```
350350
351351``` output
352352expected
353353{
354- 'John Doe' : new Person('John Doe', 42),
355- 'Jane Doe' : new Person('Janie Doe', 24)
354+ JohnDoe : new Person('John Doe', 42),
355+ JaneDoe : new Person('Janie Doe', 24)
356356}
357357to equal
358358{
359- 'John Doe' : new Person('John Doe', 42),
360- 'Jane Doe' : new Person('Jane Doe', 24)
359+ JohnDoe : new Person('John Doe', 42),
360+ JaneDoe : new Person('Jane Doe', 24)
361361}
362362
363363{
364- 'John Doe' : new Person('John Doe', 42),
365- 'Jane Doe' : new Person('Janie Doe', 24) // should equal new Person('Jane Doe', 24)
366- //
367- // new Person(
368- // 'Janie Doe', // should be 'Jane Doe'
369- // // -Janie Doe
370- // // +Jane Doe
371- // 24
372- // )
364+ JohnDoe : new Person('John Doe', 42),
365+ JaneDoe : new Person('Janie Doe', 24) // should equal new Person('Jane Doe', 24)
366+ //
367+ // new Person(
368+ // 'Janie Doe', // should be 'Jane Doe'
369+ // // -Janie Doe
370+ // // +Jane Doe
371+ // 24
372+ // )
373373}
374374```
375375
0 commit comments