pyrmont / testament

A testing library for Janet
MIT License
28 stars 8 forks source link

Add match-like assertion #6

Closed pyrmont closed 3 years ago

pyrmont commented 3 years ago

This is an initial implementation of an assert-matches assertion.

It closes #5.

pyrmont commented 3 years ago

@yumaikas Does this look like what you had in mind?

yumaikas commented 3 years ago

Yes, it does look more or less like what I had in mind, though I'd argue that match is better than matches, since it's more consistent with how Janet is currently worded, but either wording serves the purpose I'm looking for.

Thanks for adding this!