Skip to content

Commit

Permalink
Chomp for CRLF resistance.
Browse files Browse the repository at this point in the history
  • Loading branch information
GunnarFarneback committed Aug 27, 2018
1 parent b09c1d0 commit b7e963e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/embedding/embedding-test.jl
Expand Up @@ -48,7 +48,7 @@ end
close(err.in)
out_task = @async readlines(out)
err = read(err, String)
@test err == "Intentional error: MethodError: no method matching this_function_has_no_methods()\n"
@test chomp(err) == "Intentional error: MethodError: no method matching this_function_has_no_methods()"
@test success(p)
lines = fetch(out_task)
@test length(lines) == 1
Expand Down

0 comments on commit b7e963e

Please sign in to comment.