myTest : '{IO, Exception} [Result]
myTest _ =
printLine "hi"
check (1 == 1)
.> io.test myTest
io.test can execute a single test which performs I/O. The argument to io.test should be a delayed computation which performs theIO
ability and returns atest.Result
.