Neat-Lang / neat

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

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

Open FeepingCreature opened 4 months ago

FeepingCreature commented 4 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).