Is there an assertException in any of the Haskell test frameworks?

前端 未结 3 1209
眼角桃花
眼角桃花 2020-12-16 15:11

I\'m writing some tests using HUnit and I would like to assert that a particular function throws an exception given a certain input. I can\'t find an assert function which p

3条回答
提交回复
热议问题