Skip to content

Commit

Permalink
tests(t.like): add case from avajs#2627
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy-poetic committed Mar 13, 2023
1 parent 1c56764 commit 0001831
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test-tap/assert.js
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,8 @@ test('.like()', t => {
values: [{label: 'Difference (- actual, + expected):', formatted: /{\n-\s*a: 'foo',\n\+\s*a: 'bar',\n\s*}/}],
});

passes(t, () => assertions.like({a: [{a: 1, b: 2}]}, {a: [{a: 1}]}));

t.end();
});

Expand Down

0 comments on commit 0001831

Please sign in to comment.