2017-07-04 2 views

Répondre

0

La fonction onFail donne la possibilité de donner un message d'échec personnalisé pour l'une des autres attentes. Des docs:

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