1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 23:42:31 +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 ++)