Fix test suite failure on Windows
authorJoey Hess <joeyh@joeyh.name>
Tue, 24 Aug 2021 18:03:29 +0000 (14:03 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 24 Aug 2021 18:03:29 +0000 (14:03 -0400)
commit4ed36b26340798df7d9e82b4839b0db5ee8b46d7
tree301b5b2a9610942792b2237d85a16195c69059b5
parentf9b92c81f6cf43d7d55685194f3dd0a5d61804f6
Fix test suite failure on Windows

It would be better if the Arbitrary instance avoided generating impossible
filenames like "foo/c:bar", but proably this is the only place that splits
the file from the directory and then uses the file without the directory..
At least on the quickcheck properties.

Sponsored-by: Svenne Krap on Patreon
Annex/View/ViewedFile.hs
CHANGELOG
doc/bugs/test_prop__95__view__95__roundtrips_fails_occasionally.mdwn
doc/bugs/test_prop__95__view__95__roundtrips_fails_occasionally/comment_1_1cac754c9fc86da7a7cb11db0c776190._comment [new file with mode: 0644]