@@ -95,8 +95,10 @@ runTest path flags = do
9595 (_, output, _) <- readCreateProcessWithExitCode run ""
9696 writeFile (path </> "output") (normalise output)
9797 where
98− -- Normalise paths e.g. ".\foo.idr" to "./foo.idr".
98+ -- Normalise paths e.g. '.\foo.idr' to './foo.idr'.
99+ -- Also embedded paths e.g. ".\\Prelude\\List.idr" to "./Prelude/List.idr".
99100 normalise ('.' : '\\' : c : xs) | isLetter c = '.' : '/' : c : normalise xs
101+ normalise ('\\':'\\':xs) = '/' : normalise xs
100102 normalise (x : xs) = x : normalise xs
101103 normalise [] = []
102104