mirror of
https://github.com/tweag/ormolu.git
synced 2024-10-05 17:37:11 +03:00
Use it "..
instead of it "it ..
This commit is contained in:
parent
0bcf31caef
commit
9cdb3e93b0
@ -17,9 +17,9 @@ spec = do
|
||||
Just absolute <- findCabalFile start
|
||||
absolute `shouldSatisfy` isAbsolute
|
||||
makeRelativeToCurrentDirectory absolute `shouldReturn` expectedCabalFile
|
||||
it "it returns correct absolute path" $
|
||||
it "returns correct absolute path" $
|
||||
findsOrmoluCabal "src/Ormolu/Config.hs" "ormolu.cabal"
|
||||
it "it finds correct path even when it starts from nonsense" $
|
||||
it "finds correct path even when it starts from nonsense" $
|
||||
findsOrmoluCabal "a/b/c/d/e" "ormolu.cabal"
|
||||
it "returns Nothing when it cannot find a cabal file" $
|
||||
findCabalFile "/foo.hs" `shouldReturn` Nothing
|
||||
|
Loading…
Reference in New Issue
Block a user