2017-07-04 71 views

回答

0

onFail函數能夠給出任何其他期望的自定義​​失敗消息。來自文檔:

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