Skip to content

Commit a8eb8b5

Browse files
committed
Remove superfluous tests
1 parent 6642baa commit a8eb8b5

File tree

1 file changed

+1
-25
lines changed
  • plugins/hls-refactor-plugin/test

1 file changed

+1
-25
lines changed

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

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3413,7 +3413,7 @@ exportUnusedTests = testGroup "export unused actions"
34133413
, "module A (pattern Foo) where"
34143414
, "pattern Foo a <- (a, _)"
34153415
]
3416-
, testSession "unused pattern synonym symbol" $ template
3416+
, testSession "unused pattern synonym operator" $ template
34173417
[ "{-# OPTIONS_GHC -Wunused-top-binds #-}"
34183418
, "{-# LANGUAGE PatternSynonyms #-}"
34193419
, "module A () where"
@@ -3472,19 +3472,6 @@ exportUnusedTests = testGroup "export unused actions"
34723472
, "module A (Foo) where"
34733473
, "type family Foo p"
34743474
]
3475-
, testSession "unused type family symbol" $ template
3476-
[ "{-# OPTIONS_GHC -Wunused-top-binds #-}"
3477-
, "{-# LANGUAGE TypeFamilies #-}"
3478-
, "module A () where"
3479-
, "type family p &&& q"
3480-
]
3481-
(R 3 0 3 10)
3482-
"Export ‘&&&’"
3483-
[ "{-# OPTIONS_GHC -Wunused-top-binds #-}"
3484-
, "{-# LANGUAGE TypeFamilies #-}"
3485-
, "module A (type (&&&)) where"
3486-
, "type family p &&& q"
3487-
]
34883475
, testSession "unused typeclass" $ template
34893476
[ "{-# OPTIONS_GHC -Wunused-top-binds #-}"
34903477
, "module A () where"
@@ -3496,17 +3483,6 @@ exportUnusedTests = testGroup "export unused actions"
34963483
, "module A (Foo(..)) where"
34973484
, "class Foo a"
34983485
]
3499-
, testSession "unused typeclass symbol" $ template
3500-
[ "{-# OPTIONS_GHC -Wunused-top-binds #-}"
3501-
, "module A () where"
3502-
, "class p &&& q"
3503-
]
3504-
(R 2 0 2 10)
3505-
"Export ‘&&&’"
3506-
[ "{-# OPTIONS_GHC -Wunused-top-binds #-}"
3507-
, "module A (type (&&&)(..)) where"
3508-
, "class p &&& q"
3509-
]
35103486
, testSession "infix" $ template
35113487
[ "{-# OPTIONS_GHC -Wunused-top-binds #-}"
35123488
, "module A () where"

0 commit comments

Comments
 (0)