2017-07-04 73 views

回答

0

onFail函数能够给出任何其他期望的自定义​​失败消息。来自文档:

"something" 
    |> Expect.equal "something else" 
    |> Expect.onFail "thought those two strings would be the same"