Neat-Lang / neat

The Neat Language compiler. Early beta?
BSD 3-Clause "New" or "Revised" License
111 stars 9 forks source link

You should be able to return Error from unittest blocks #44

Open FeepingCreature opened 9 months ago

FeepingCreature commented 9 months ago

Right now there's no clean way to handle errors in unittests, when half the point of unittests is handling errors. Unittest blocks should just act as functions returning (Error | void).