Skip to content

Commit

Permalink
Merge pull request #17341 from omus/dump-trailing-newline-fixup
Browse files Browse the repository at this point in the history
Fix comment for #17202
  • Loading branch information
tkelman authored Jul 8, 2016
2 parents 5c93b3a + dd0aa36 commit bd2ac12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/show.jl
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ let s = IOBuffer(Array{UInt8}(0), true, true)
@test String(resize!(s.data, s.size)) == " 1\n 2\n 3"
end

# The `dump` function should alway have a trailing newline
# The `dump` function should always have a trailing newline
let io = IOBuffer()
dump(io, :(x = 1))
@test takebuf_string(io)[end] == '\n'
Expand Down

0 comments on commit bd2ac12

Please sign in to comment.