Skip to content

Commit

Permalink
added test case for #7188
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Jul 7, 2014
1 parent 8136e63 commit ac7f777
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/show.jl
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,8 @@ end"""
return
end"""

# issue #7188
@test sprint(show, :foo) == ":foo"
@test sprint(show, symbol("foo bar")) == "symbol(\"foo bar\")"
@test sprint(show, symbol("foo \"bar")) == "symbol(\"foo \\\"bar\")"

0 comments on commit ac7f777

Please sign in to comment.