We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eed3a65 commit bea0b16Copy full SHA for bea0b16
lsp-types/test/URIFilePathSpec.hs
@@ -297,7 +297,7 @@ normalizedFilePathSpec = do
297
it "converts to NormalizedFilePath and back sucessfully" $ property $ forAll genFilePath $ \fp -> do
298
let osPath = fromJust (OsPath.encodeUtf fp)
299
osPath' <- osPathToNormalizedFilePath osPath >>= normalizedFilePathToOsPath
300
- osPath' `shouldBe` osPath
+ osPath' `shouldBe` OsPath.normalise osPath
301
302
it "can not convert OsPath in non-standard encoding to NormalizedFilePath" $ do
303
-- \184921 is an example that the raw bytes of UTF16 is not valid UTF8.
0 commit comments