In Dart, how to verify a void method that does not throw exception in unit tests?

前端 未结 0 1383
囚心锁ツ
囚心锁ツ 2021-01-23 06:11

I am implementing some data verification library in Dart. The validating method has void return type and throws exceptions on errors. The code below shows an exampl

相关标签:
回答
  • 消灭零回复
提交回复
热议问题