File tree Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -9,21 +9,5 @@ import Test.Tasty.HUnit
9
9
10
10
tests :: TestTree
11
11
tests = testGroup " PluginUtils"
12
- [ isSubrangeOfTest
13
- ]
14
-
15
- isSubrangeOfTest :: TestTree
16
- isSubrangeOfTest = testGroup " isSubrangeOf"
17
- [ testCase " single line, after the end" $
18
- isSubrangeOf (Position 1 10 ) (Range (Position 1 1 ) (Position 1 3 )) @?= False
19
- , testCase " single line, before the begining" $
20
- isSubrangeOf (Position 1 0 ) (Range (Position 1 1 ) (Position 1 6 )) @?= False
21
- , testCase " single line, in range" $
22
- isSubrangeOf (Position 1 5 ) (Range (Position 1 1 ) (Position 1 6 )) @?= True
23
- , testCase " single line, at the end" $
24
- isSubrangeOf (Position 1 5 ) (Range (Position 1 1 ) (Position 1 5 )) @?= False
25
- , testCase " multiline, in range" $
26
- isSubrangeOf (Position 3 5 ) (Range (Position 1 1 ) (Position 5 6 )) @?= True
27
- , testCase " multiline, out of range" $
28
- isSubrangeOf (Position 3 5 ) (Range (Position 3 6 ) (Position 4 10 )) @?= False
12
+ [
29
13
]
You can’t perform that action at this time.
0 commit comments