Skip to content

Commit

Permalink
Make test_ambiguities error more helpful (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens authored Sep 27, 2023
1 parent 59eb815 commit 33e0e21
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/ambiguities.jl
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,10 @@ function _find_ambiguities(
reg_match = match(r"(\d+) ambiguities found", strout)

reg_match === nothing && error(
"Failed to parse output of `detect_ambiguities`. The output was:\n" *
strout,
"Failed to parse output of `detect_ambiguities`. The stdout was:\n" *
strout *
"\n\n The stderr was:\n" *
strerr,
)

parse(Int, reg_match.captures[1])
Expand Down

0 comments on commit 33e0e21

Please sign in to comment.