Skip to content

Commit

Permalink
Get some tests to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
snoyberg committed Sep 29, 2013
1 parent f86a1c2 commit 9704719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attoparsec-conduit/test/main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ main = hspec $ do
it "parses a repeated stream" $ do
let input = ["aaa\n", "aaa\naaa\n", "aaa\n"]
parser = Data.Attoparsec.Text.string "aaa" <* Data.Attoparsec.Text.endOfLine
sink = conduitParserEither parser =$= CL.consume
sink = conduitParserEither parser =$ CL.consume
(Right ea) <- runExceptionT $ CL.sourceList input $$ sink
let chk a = case a of
Left{} -> False
Expand Down

0 comments on commit 9704719

Please sign in to comment.