Failing via `fail` doesn't propagate message
When using the fail
method directly, it correctly fails the test but doesn't display the custom message.
require "spectator"
Spectator.describe "Fails", :focus do
it "fails" do
fail "It failed!"
end
end
Output:
F
Failures:
Finished in 63.42 milliseconds
1 examples, 1 failures
Failed examples:
crystal spec spec/fail_spec.cr:4 # Fails fails
I expected the message "It failed!" to be somewhere in the output. If this is user error in some way, let me know. I may have missed some documentation somewhere
Hope this bug report helps keep spectator being awesome!