summaryrefslogtreecommitdiff
path: root/Test.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-02-11 12:22:43 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-02-11 12:22:43 -0400
commit2aee0efc10f0c8c1bcfa1560f57ec0a66c42414b (patch)
tree52bda5c8ebeaf642b21a9256a456eea9afe8f3dd /Test.hs
parenta78f1374c045093f74c2b2a5f39577dc48eb87a0 (diff)
dropdrive drops the leading slash, so need fil:///
Diffstat (limited to 'Test.hs')
-rw-r--r--Test.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Test.hs b/Test.hs
index ec1d82f81..290ff0b69 100644
--- a/Test.hs
+++ b/Test.hs
@@ -1361,7 +1361,7 @@ test_addurl :: Assertion
test_addurl = intmpclonerepo $ do
-- file:// only; this test suite should not hit the network
f <- absPath "myurl"
- let url = replace "\\" "/" ("file://" ++ dropDrive f)
+ let url = replace "\\" "/" ("file:///" ++ dropDrive f)
writeFile f "foo"
git_annex "addurl" [url] @? ("addurl failed on " ++ url)
let dest = "addurlurldest"