Skip to content

Commit a3e96c1

Browse files
committed
test: Make regex tests match diagnostics
1 parent 439c4be commit a3e96c1

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

plugins/hls-change-type-signature-plugin/test/testdata/TRigidType.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
Expected: a -> [[Int]]
2-
Actual: [[Int]] -> [[Int]]
3-
‘a’ is a rigid type variable bound by
4-
the type signature for:
5-
test :: forall a. a -> Int
6-
at /home/sgillespie/dev/haskell/haskell-language-server/plugins/hls-change-type-signature-plugin/test/testdata/TRigidType.hs:3:1-16
7-
In the second argument of ‘(.)’, namely ‘reverse’
8-
In the second argument of ‘(.)’, namely ‘head . reverse’
91
In the expression: go . head . reverse
102
Relevant bindings include
113
test :: a -> Int

plugins/hls-change-type-signature-plugin/test/testdata/TRigidType2.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
Couldn't match type ‘a’ with ‘[Int]’
2-
Expected: a -> Int
3-
Actual: [Int] -> Int
4-
‘a’ is a rigid type variable bound by
5-
the type signature for:
6-
test :: forall a. a -> Int
7-
at /home/sgillespie/dev/haskell/haskell-language-server/plugins/hls-change-type-signature-plugin/test/testdata/TRigidType2.hs:3:1-16
81
In the expression: head
92
In an equation for ‘test’: test = head
103
Relevant bindings include

0 commit comments

Comments
 (0)