pyrmont / testament

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

Add (L) and (R) to failure message #14

Closed pyrmont closed 3 years ago

pyrmont commented 3 years ago

This adds (L) and (R) to the failure message. It is an attempt to address confusion that might arise as to which parameter that is passed to the comparison function/macro in a test is meant to be the expected result and which is meant to be the actual result.

It fixes #13.

pyrmont commented 3 years ago

@goto-engineering I'm a bit loathe to switch from expect and actual to left and right but what do you think of these labels? Would that help?

goto-engineering commented 3 years ago

That'll probably help! Thx!

pyrmont commented 3 years ago

I've really made a mess of these commits...