michelsalib / chai-shallow-deep-equal

Shallow deep equal for chai
20 stars 9 forks source link

Fix order of objects in examples #9

Closed Steditor closed 9 years ago

Steditor commented 9 years ago

The library always expects the order a, b if b should be contained in a.

The Assertions-part of the readme is correct, but the examples part used the arguments in reversed order.

michelsalib commented 9 years ago

Silly me, you are right! Thanks :+1: