Skip to content

Commit b8ea91f

Browse files
committed
fix build Config test
1 parent 411aaf8 commit b8ea91f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/functional/Config.hs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,12 @@ genericConfigTests = testGroup "generic plugin config"
9696
testPluginDiagnostics = [("Foo.hs", [(DsError, (0,0), "testplugin")])]
9797

9898
runConfigSession subdir =
99-
failIfSessionTimeout . runSessionWithServer @() (const plugin) ("test/testdata" </> subdir)
99+
failIfSessionTimeout . runSessionWithServer @() plugin ("test/testdata" </> subdir)
100100

101101
testPluginId = "testplugin"
102102
-- A disabled-by-default plugin that creates diagnostics
103-
plugin = (defaultPluginDescriptor testPluginId)
103+
plugin = mkPluginTestDescriptor' pd testPluginId
104+
pd plId = (defaultPluginDescriptor plId)
104105
{
105106
pluginConfigDescriptor = configDisabled
106107
, pluginRules = do

0 commit comments

Comments
 (0)