@@ -131,7 +131,7 @@ tests =
131
131
, goldenWithEvalAndFs " Transitive local dependency" (FS. directProjectMulti [" TTransitive.hs" , " TLocalImport.hs" , " Util.hs" ]) " TTransitive" " hs"
132
132
-- , goldenWithEval "Local Modules can be imported in a test" "TLocalImportInTest" "hs"
133
133
, goldenWithEval " Setting language option TupleSections" " TLanguageOptionsTupleSections" " hs"
134
- , goldenWithEval' " :set accepts ghci flags" " TFlags" " hs" (if ghcVersion >= GHC92 then " ghc98.expected" else if ghcVersion >= GHC92 then " ghc92.expected" else " expected" )
134
+ , goldenWithEval' " :set accepts ghci flags" " TFlags" " hs" (if ghcVersion >= GHC98 then " ghc98.expected" else if ghcVersion >= GHC92 then " ghc92.expected" else " expected" )
135
135
, testCase " :set -fprint-explicit-foralls works" $ do
136
136
evalInFile " T8.hs" " -- >>> :t id" " -- id :: a -> a"
137
137
evalInFile " T8.hs" " -- >>> :set -fprint-explicit-foralls\n -- >>> :t id"
@@ -142,7 +142,9 @@ tests =
142
142
, goldenWithEval " IO expressions are supported, stdout/stderr output is ignored" " TIO" " hs"
143
143
, goldenWithEvalAndFs " Property checking" cabalProjectFS " TProperty" " hs"
144
144
, goldenWithEvalAndFs' " Property checking with exception" cabalProjectFS " TPropertyError" " hs" (
145
- if ghcVersion >= GHC96 then
145
+ if ghcVersion >= GHC98 then
146
+ " ghc98.expected"
147
+ else if ghcVersion >= GHC96 then
146
148
" ghc96.expected"
147
149
else if ghcVersion >= GHC94 && hostOS == Windows then
148
150
" windows-ghc94.expected"
0 commit comments