You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/hls-eval-plugin/test/Main.hs
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -81,11 +81,11 @@ tests =
81
81
evalInFile "T8.hs""-- >>> 3 `div` 0""-- divide by zero"-- The default for marking exceptions is False
82
82
, goldenWithEval "Applies file LANGUAGE extensions""T9""hs"
83
83
, goldenWithEval' "Evaluate a type with :kind!""T10""hs" (if ghcVersion >=GHC92then"ghc92.expected"else"expected")
84
-
, goldenWithEval' "Reports an error for an incorrect type with :kind!""T11""hs" (if ghcVersion ==GHC92then"ghc92.expected"else"expected")
84
+
, goldenWithEval' "Reports an error for an incorrect type with :kind!""T11""hs" (if ghcVersion >=GHC92then"ghc92.expected"else"expected")
85
85
, goldenWithEval' "Shows a kind with :kind""T12""hs" (if ghcVersion >=GHC92then"ghc92.expected"else"expected")
86
-
, goldenWithEval' "Reports an error for an incorrect type with :kind""T13""hs" (if ghcVersion ==GHC92then"ghc92.expected"else"expected")
86
+
, goldenWithEval' "Reports an error for an incorrect type with :kind""T13""hs" (if ghcVersion >=GHC92then"ghc92.expected"else"expected")
87
87
, goldenWithEval "Returns a fully-instantiated type for :type""T14""hs"
88
-
, knownBrokenForGhcVersions [GHC92] "type +v does not work anymore with 9.2"$ goldenWithEval "Returns an uninstantiated type for :type +v, admitting multiple whitespaces around arguments""T15""hs"
88
+
, knownBrokenForGhcVersions [GHC92, GHC94] "type +v does not work anymore with 9.2"$ goldenWithEval "Returns an uninstantiated type for :type +v, admitting multiple whitespaces around arguments""T15""hs"
89
89
, goldenWithEval "Returns defaulted type for :type +d, admitting multiple whitespaces around arguments""T16""hs"
90
90
, goldenWithEval' ":type reports an error when given with unknown +x option""T17""hs" (if ghcVersion >=GHC92then"ghc92.expected"else"expected")
91
91
, goldenWithEval "Reports an error when given with unknown command""T18""hs"
@@ -135,7 +135,7 @@ tests =
135
135
, goldenWithEval "The default language extensions for the eval plugin are the same as those for ghci""TSameDefaultLanguageExtensionsAsGhci""hs"
136
136
, goldenWithEval "IO expressions are supported, stdout/stderr output is ignored""TIO""hs"
0 commit comments