1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 08:54:07 +03:00

Prepend a newline to avoid being indented by expected:/but got:.

This commit is contained in:
Rob Rix 2016-05-30 12:44:09 -04:00
parent 89733ccdef
commit 3fbfe43935

View File

@ -85,4 +85,4 @@ newtype Verbatim = Verbatim Text
deriving (Eq, NFData)
instance Show Verbatim where
showsPrec _ (Verbatim text) = (T.unpack text ++)
showsPrec _ (Verbatim text) = ('\n':) . (T.unpack text ++)