From 6a5131fe0be68753ce93e52829d5b8cd72f494cd Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 17 Feb 2025 14:56:56 -0400 Subject: [PATCH] OsPath build fix --- Test.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Test.hs b/Test.hs index 0032e855e0..cb3a29de13 100644 --- a/Test.hs +++ b/Test.hs @@ -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 ()