Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-Authored-By: fredrikekre <fredrik.ekre@outlook.com>
  • Loading branch information
mortenpi and fredrikekre authored Feb 13, 2019
1 parent 5ea778e commit 02c4923
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/DocTests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -261,13 +261,14 @@ function report(result::Result, str, doc::Documents.Document)
diff = TextDiff.Diff{TextDiff.Words}(result.output, rstrip(str))
lines = Utilities.find_block_in_file(result.block.code, result.file)
@error("""
doctest failure in $(Utilities.locrepr(result.file, lines)).
doctest failure in $(Utilities.locrepr(result.file, lines))
```$(result.block.language)
$(result.block.code)
```
Subexpression:
$(result.input)
""", diff)
Expand Down

0 comments on commit 02c4923

Please sign in to comment.