Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
maksbotan committed Dec 8, 2023
1 parent 5c9bb16 commit fe00916
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/FASTASpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

module FASTASpec where

import Data.Bifunctor (first)
import Bio.FASTA (fastaP, fromFile, toFile)
import Bio.FASTA.Parser (parseOnly)
import Bio.FASTA.Type (Fasta, FastaItem (..))
Expand Down Expand Up @@ -71,7 +72,7 @@ parseBadFile path cf =
it ("correctly parses bad fasta from file " <> path) $ do
res <- liftIO (readFile path)
let badRes = parseOnly fastaP res
noTabs badRes `shouldBe` cf
first noTabs badRes `shouldBe` cf

writeFile :: FilePath -> Fasta Char -> Spec
writeFile path cf =
Expand Down

0 comments on commit fe00916

Please sign in to comment.