Skip to content

Commit bea0b16

Browse files
author
kokobd
committed
fix test case
1 parent eed3a65 commit bea0b16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lsp-types/test/URIFilePathSpec.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ normalizedFilePathSpec = do
297297
it "converts to NormalizedFilePath and back sucessfully" $ property $ forAll genFilePath $ \fp -> do
298298
let osPath = fromJust (OsPath.encodeUtf fp)
299299
osPath' <- osPathToNormalizedFilePath osPath >>= normalizedFilePathToOsPath
300-
osPath' `shouldBe` osPath
300+
osPath' `shouldBe` OsPath.normalise osPath
301301

302302
it "can not convert OsPath in non-standard encoding to NormalizedFilePath" $ do
303303
-- \184921 is an example that the raw bytes of UTF16 is not valid UTF8.

0 commit comments

Comments
 (0)