nisanharamati has quit [Quit: Connection closed for inactivity]
bibi has quit [Ping timeout: 248 seconds]
pzel has quit [Ping timeout: 244 seconds]
khan has joined #ponylang
khan has quit [Quit: khan]
christianpoveda has joined #ponylang
xek_ has joined #ponylang
xek__ has quit [Ping timeout: 256 seconds]
profetes_ has joined #ponylang
endformationage has quit [Ping timeout: 264 seconds]
profetes has quit [Ping timeout: 264 seconds]
khan_ has joined #ponylang
acarrico has quit [Ping timeout: 240 seconds]
khan_ has quit [Ping timeout: 240 seconds]
khan_ has joined #ponylang
khan_ has quit [Ping timeout: 264 seconds]
khan has joined #ponylang
khan has quit [Remote host closed the connection]
khan has joined #ponylang
Bombe has quit [Ping timeout: 256 seconds]
Shorttail has joined #ponylang
<Shorttail>
If I use a type that's a union of primitives, is there a way to give it a sensible string that's printed by the test helper? I tried addint a string function to each of the primitives, but they still get printed as a number when there's a mismatch
Bombe has joined #ponylang
<dave24>
vaninwagen: thanks, yeah I ended up doing ffi
khan has quit [Remote host closed the connection]
<dave24>
Shorttail: it depends on the test you do, assert_is will always print the digest. If you have an eq implementation and use assert_eq then it will use the string function.
<dave24>
you could always use your own assert_is variant that requires `stringable` and prints a string message