Skip to content

API refactor

Compare
Choose a tag to compare
@mnemnion mnemnion released this 06 Aug 18:15
· 1 commit to trunk since this release
v0.3.0
930f43e

This version changes interaction with ohsnap. Now snapshots are only created with oh.snap, and the choice of pretty or .fmt is made by using .expectEqual or .expectEqualFmt.

This also adds .show and .showFmt, which print the snapshot or diff without treating them as a test.

Further API changes are considered unlikely, and no further features are planned. That leaves dependency updates, which will continue indefinitely.