typo.
This commit is contained in:
parent
68447e3681
commit
9c30b11667
@ -6,7 +6,7 @@ import Test.Hspec
|
|||||||
spec :: Spec
|
spec :: Spec
|
||||||
spec = do
|
spec = do
|
||||||
describe "lintSyntax" $ do
|
describe "lintSyntax" $ do
|
||||||
it "check syntax with HList" $ do
|
it "check syntax with HLint" $ do
|
||||||
res <- lintSyntax defaultOptions "test/data/hlint.hs"
|
res <- lintSyntax defaultOptions "test/data/hlint.hs"
|
||||||
res `shouldBe` "test/data/hlint.hs:4:8: Error: Redundant do\NULFound:\NUL do putStrLn \"Hello, world!\"\NULWhy not:\NUL putStrLn \"Hello, world!\"\n"
|
res `shouldBe` "test/data/hlint.hs:4:8: Error: Redundant do\NULFound:\NUL do putStrLn \"Hello, world!\"\NULWhy not:\NUL putStrLn \"Hello, world!\"\n"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user