Skip to content

Commit e230f1a

Browse files
committed
Use 'goldenWithEval' in hls-eval-plugin-tests
1 parent c85d923 commit e230f1a

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

plugins/hls-eval-plugin/test/Main.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ tests =
8484
evalInFile "T8.hs" "-- >>> 3 `div` 0" "-- divide by zero" -- The default for marking exceptions is False
8585
, goldenWithEval "Applies file LANGUAGE extensions" "T9" "hs"
8686
, goldenWithEval "Evaluate a type with :kind!" "T10" "hs"
87-
-- TODO: I do not understand why this is 'ghc94.expected'.
88-
, goldenWithEval' "Reports an error for an incorrect type with :kind!" "T11" "hs" "ghc94.expected"
87+
, goldenWithEval "Reports an error for an incorrect type with :kind!" "T11" "hs"
8988
, goldenWithEval "Shows a kind with :kind" "T12" "hs"
9089
, goldenWithEval "Reports an error for an incorrect type with :kind" "T13" "hs"
9190
, goldenWithEval' "Returns a fully-instantiated type for :type" "T14" "hs" (if ghcVersion >= GHC98 then "ghc98.expected" else "expected") -- See https://gitlab.haskell.org/ghc/ghc/-/issues/24069

plugins/hls-eval-plugin/test/testdata/T11.ghc94.expected.hs

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)