Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump to crystal 0.31.1 #72

Merged
merged 9 commits into from
Nov 1, 2019
Prev Previous commit
Next Next commit
Ooof. Be more lax about the expected output.
We have a default preamble which enables
fail fast mode in specs. Between crystal 0.30.1
and 0.31.0 this changed the output. The new crystal
doesnt print a summary anymore, which means we will
not find "Finished" in it. Instead only one "F" is printed and
that's it (if there is exactly one test which fails).

See also crystal-lang/crystal#8359
hanneskaeufler committed Nov 1, 2019
commit 968326578d0500419b5f237c2f9c1941dcd6a84b
2 changes: 1 addition & 1 deletion src/crytic/mutation/isolated_mutation.cr
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ module Crytic::Mutation
def run : Result
mutated = @environment.perform_mutation
process_result = run(mutated)
success_messages_in_output = /Finished/ =~ process_result[:output]
success_messages_in_output = /F/ =~ process_result[:output]
status = if process_result[:exit_code] == ProcessRunner::SUCCESS
Status::Uncovered
elsif process_result[:exit_code] == ProcessRunner::TIMEOUT