mirror of
https://github.com/github/semantic.git
synced 2024-11-24 08:54:07 +03:00
Verbatim wraps Text.
This commit is contained in:
parent
7a52507e94
commit
7fe5be7fe2
@ -80,8 +80,8 @@ testDiff renderer paths diff matcher = do
|
||||
where parser = parserForFilepath (fst paths)
|
||||
sourceBlobs sources = pure S.SourceBlob <*> sources <*> pure mempty <*> paths <*> pure (Just S.defaultPlainBlob)
|
||||
|
||||
newtype Verbatim = Verbatim String
|
||||
newtype Verbatim = Verbatim Text
|
||||
deriving Eq
|
||||
|
||||
instance Show Verbatim where
|
||||
showsPrec _ (Verbatim string) = (string++)
|
||||
showsPrec _ (Verbatim string) = (T.unpack string ++)
|
||||
|
Loading…
Reference in New Issue
Block a user