Tests pass

This commit is contained in:
MasseR committed 2020-12-10 21:24:23 +02:00
1 parent a43b0bf471
commit b483ccb3f4
5 files changed
+63 -12

No files matched your search

+1
View File
@@ -41,6 +41,7 @@ decode = parseOnly parseHeader
name <- T.pack <$> many' (notChar '@')
_ <- char '@'
rest <- T.pack <$> many' (satisfy (\c -> not (isSpace c) && c /= ','))
_ <- many' (notChar ',')
pure (name <> "@" <> rest)