@@ -41,9 +41,9 @@ test :: TestTree
41
41
test = testGroup " changeTypeSignature" [
42
42
testRegexes
43
43
, codeActionTest " TExpectedActual" 4 11
44
- , knownBrokenForGhcVersions [GHC96 .. GHC912 ] " Error Message in 9.2 + does not provide enough info" $
44
+ , knownBrokenForGhcVersions [GHC96 .. GHC912 ] " Error Message in 9.6 + does not provide enough info" $
45
45
codeActionTest " TRigidType" 4 14
46
- , codeActionTest " TRigidType2" 4 6
46
+ , codeActionTest " TRigidType2" 4 8
47
47
, codeActionTest " TLocalBinding" 7 22
48
48
, codeActionTest " TLocalBindingShadow1" 11 8
49
49
, codeActionTest " TLocalBindingShadow2" 7 22
@@ -56,22 +56,13 @@ testRegexes = testGroup "Regex Testing" [
56
56
, regexTest " TLocalBinding.txt" regex True
57
57
, regexTest " TLocalBindingShadow1.txt" regex True
58
58
, regexTest " TLocalBindingShadow2.txt" regex True
59
+ -- Error message from GHC currently does not not provide enough info
59
60
, regexTest " TRigidType.txt" regex False
60
61
, regexTest " TRigidType2.txt" regex True
61
62
]
62
63
where
63
64
regex = errorMessageRegexes !! 0
64
65
65
- -- test ghc-9.2 error message regex
66
- testRegex921One :: TestTree
67
- testRegex921One = testGroup " Regex One" [
68
- regexTest " ghc921-error1.txt" regex True
69
- , regexTest " ghc921-error2.txt" regex True
70
- , regexTest " ghc921-error3.txt" regex True
71
- ]
72
- where
73
- regex = errorMessageRegexes !! 0
74
-
75
66
testDataDir :: FilePath
76
67
testDataDir = " plugins" </> " hls-change-type-signature-plugin" </> " test" </> " testdata"
77
68
0 commit comments