OsPath build fix

This commit is contained in:
Joey Hess 2025-02-17 14:56:56 -04:00
parent f6bd8ac9ab
commit 6a5131fe0b
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -556,9 +556,9 @@ test_magic = intmpclonerepo $ do
"git-annex add with mimeencoding in largefiles"
git_annex "sync" ["--no-content"]
"git-annex sync"
(isJust <$> annexeval (Annex.CatFile.catKeyFile (encodeBS "binary")))
(isJust <$> annexeval (Annex.CatFile.catKeyFile (literalOsPath "binary")))
@? "binary file not added to annex despite mimeencoding config"
(isNothing <$> annexeval (Annex.CatFile.catKeyFile (encodeBS "text")))
(isNothing <$> annexeval (Annex.CatFile.catKeyFile (literalOsPath "text")))
@? "non-binary file got added to annex despite mimeencoding config"
#else
return ()