Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit 072ff7f

Browse files
authored
Merge pull request #1507 from alanz/fix-master
Adapt GhcModPluginSpec after merge of #1496
2 parents 310450e + f99237b commit 072ff7f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/unit/GhcModPluginSpec.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ ghcmodSpec =
3939
fp <- makeAbsolute "./FileWithWarning.hs"
4040
let act = setTypecheckedModule arg
4141
arg = filePathToUri fp
42-
IdeResultOk (_,env) <- runSingle testPlugins act
42+
IdeResultOk (_,env) <- runSingle testPlugins fp act
4343
case env of
4444
[] -> return ()
4545
[s] -> T.unpack s `shouldStartWith` "Loaded package environment from"
@@ -55,7 +55,7 @@ ghcmodSpec =
5555
"Variable not in scope: x"
5656
Nothing
5757

58-
testCommand testPlugins act "ghcmod" "check" arg res
58+
testCommand testPlugins fp act "ghcmod" "check" arg res
5959

6060

6161
-- ----------------------------------------------------------------------------
@@ -72,7 +72,7 @@ ghcmodSpec =
7272
, (Range (toPos (5,1)) (toPos (5,14)), "Int -> Int")
7373
]
7474

75-
testCommand testPlugins act "ghcmod" "type" arg res
75+
testCommand testPlugins fp act "ghcmod" "type" arg res
7676

7777

7878
-- ----------------------------------------------------------------------------

0 commit comments

Comments
 (0)