Format runtime errors consistently with assertion errors

This commit is contained in:
Uku Taht
2016-03-08 15:32:10 +02:00
parent e0c793638f
commit 0a66577481
2 changed files with 26 additions and 9 deletions

View File

@@ -8,7 +8,7 @@ defmodule Koans do
unquote(body)
:ok
rescue
e in ExUnit.AssertionError -> e
e in _ -> e
end
end
end