holepunchto / brittle

Brittle TAP test framework
Apache License 2.0
81 stars 9 forks source link

Show sets in output #44

Closed EvanHahn closed 7 months ago

EvanHahn commented 8 months ago

Before this change, Sets were not shown in the output.

For example, t.alike(new Set([1, 2]), new Set([3, 4])) would show:

not ok 1 - should deep equal
  ---
  actual:
  expected:
  ...

Now it shows this:

not ok 1 - should deep equal
  ---
  actual:
    - 1
    - 2
  expected:
    - 3
    - 4
  ...
mafintosh commented 7 months ago

Awesome! 3.4.1