@@ -336,6 +336,19 @@ tests =
336336 ,(" \" C:\\\\ home\" W.</> \"\\\\ bob\" == \"\\\\ bob\" " , property $ " C:\\ home" W. </> " \\ bob" == " \\ bob" )
337337 ,(" \" D:\\\\ foo\" W.</> \" C:bar\" == \" C:bar\" " , property $ " D:\\ foo" W. </> " C:bar" == " C:bar" )
338338 ,(" \" C:\\\\ foo\" W.</> \" C:bar\" == \" C:bar\" " , property $ " C:\\ foo" W. </> " C:bar" == " C:bar" )
339+ ,(" \" /directory\" P.<\\ > \" file.ext\" == \" /directory/file.ext\" " , property $ " /directory" P. <\> " file.ext" == " /directory/file.ext" )
340+ ,(" \" /directory\" W.<\\ > \" file.ext\" == \" /directory\\\\ file.ext\" " , property $ " /directory" W. <\> " file.ext" == " /directory\\ file.ext" )
341+ ,(" (P.takeDirectory x P.<\\ > P.takeFileName x) `P.equalFilePath` x" , property $ \ (QFilePathValidP x) -> (P. takeDirectory x P. <\> P. takeFileName x) `P.equalFilePath` x)
342+ ,(" (W.takeDirectory x W.<\\ > W.takeFileName x) `W.equalFilePath` x" , property $ \ (QFilePathValidW x) -> (W. takeDirectory x W. <\> W. takeFileName x) `W.equalFilePath` x)
343+ ,(" \" /\" P.<\\ > \" test\" == \" /test\" " , property $ " /" P. <\> " test" == " /test" )
344+ ,(" \" home\" P.<\\ > \" bob\" == \" home/bob\" " , property $ " home" P. <\> " bob" == " home/bob" )
345+ ,(" \" x:\" P.<\\ > \" foo\" == \" x:/foo\" " , property $ " x:" P. <\> " foo" == " x:/foo" )
346+ ,(" \" C:\\\\ foo\" W.<\\ > \" bar\" == \" C:\\\\ foo\\\\ bar\" " , property $ " C:\\ foo" W. <\> " bar" == " C:\\ foo\\ bar" )
347+ ,(" \" home\" W.<\\ > \" bob\" == \" home\\\\ bob\" " , property $ " home" W. <\> " bob" == " home\\ bob" )
348+ ,(" \" home\" P.<\\ > \" /bob\" == \" home//bob\" " , property $ " home" P. <\> " /bob" == " home//bob" )
349+ ,(" \" home\" W.<\\ > \" C:\\\\ bob\" == \" home\\\\ C:\\\\ bob\" " , property $ " home" W. <\> " C:\\ bob" == " home\\ C:\\ bob" )
350+ ,(" \" D:\\\\ foo\" W.<\\ > \" C:bar\" == \" D:\\\\ foo\\\\ C:bar\" " , property $ " D:\\ foo" W. <\> " C:bar" == " D:\\ foo\\ C:bar" )
351+ ,(" \" C:\\\\ foo\" W.<\\ > \" C:bar\" == \" C:\\\\ foo\\\\ C:bar\" " , property $ " C:\\ foo" W. <\> " C:bar" == " C:\\ foo\\ C:bar" )
339352 ,(" P.splitPath \" /directory/file.ext\" == [\" /\" , \" directory/\" , \" file.ext\" ]" , property $ P. splitPath " /directory/file.ext" == [" /" , " directory/" , " file.ext" ])
340353 ,(" W.splitPath \" /directory/file.ext\" == [\" /\" , \" directory/\" , \" file.ext\" ]" , property $ W. splitPath " /directory/file.ext" == [" /" , " directory/" , " file.ext" ])
341354 ,(" concat (P.splitPath x) == x" , property $ \ (QFilePath x) -> concat (P. splitPath x) == x)
0 commit comments