don't test with null paths
This commit is contained in:
parent
277e103880
commit
cd31b69ff6
1 changed files with 1 additions and 0 deletions
|
@ -159,6 +159,7 @@ relPathDirToFileAbs from to
|
|||
|
||||
prop_relPathDirToFile_basics :: FilePath -> FilePath -> Bool
|
||||
prop_relPathDirToFile_basics from to
|
||||
| null from || null to = True
|
||||
| from == to = null r
|
||||
| otherwise = not (null r)
|
||||
where
|
||||
|
|
Loading…
Reference in a new issue