hobovsky / katasniplib

Userscript with a sketch of a library of code snippets useful when creating Codewars kata
4 stars 1 forks source link

Custom assertion messages for Nim #15

Open hobovsky opened 1 year ago

hobovsky commented 1 year ago

There seems to be no easy way to provide failure messages to Nim tests. There is no explicit assertion functions, and the check macro does not seem to accept any parameters which would result in an additional, custom message.