aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2010-01-22 22:49:13 +0000
committerDavid Waern <david.waern@gmail.com>2010-01-22 22:49:13 +0000
commitc82f40a3726f89e451587c07cfaa91576123e671 (patch)
tree814c4a50b5ea5f9702d5555903a9d666793d195e /tests
parent5b746d714494d37fb3d014890c213aca2de40730 (diff)
Use findProgramLocation instead of findProgramOnPath in runtests.hs
Diffstat (limited to 'tests')
-rw-r--r--tests/runtests.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.hs b/tests/runtests.hs
index 646930ee..aaf5c3dd 100644
--- a/tests/runtests.hs
+++ b/tests/runtests.hs
@@ -24,7 +24,7 @@ haddockEq file1 file2 = stripLinks file1 == stripLinks file2
stripLinks f = subRegex (mkRegexWithOpts "<A HREF=[^>]*>" False False) f "<A HREF=\"\">"
programOnPath p = do
- result <- findProgramOnPath p silent
+ result <- findProgramLocation silent p
return (isJust result)