fix test failure on windows
authorJoey Hess <joeyh@joeyh.name>
Thu, 26 Nov 2020 15:48:52 +0000 (11:48 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 26 Nov 2020 15:48:52 +0000 (11:48 -0400)
commite92117bfd0d28b24f51a10903158b95010defffd
treea5e91b7a693ee6b879af9f005df4a6035d454089
parent79135e4a92d131fff885e92af04f961cdef70244
fix test failure on windows

"a:" failed; this test wants a relative filename so isDrive avoids it

Note that on linux, isDrive "/foo" is true. This test also filters out
absolute paths already, so that is ok.

This commit was sponsored by Brock Spratlen on Patreon.
Annex/View/ViewedFile.hs