-
-
Notifications
You must be signed in to change notification settings - Fork 368
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add integration tests for field name code action fixes
- Loading branch information
1 parent
b0e9815
commit 26d3622
Showing
6 changed files
with
160 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
plugins/hls-cabal-plugin/test/testdata/code-actions/FieldSuggestions.cabal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
cabal-version: 3.0 | ||
name: FieldSuggestions | ||
version: 0.1.0 | ||
licens: BSD-3-Clause | ||
|
||
buil-type: Simple | ||
|
||
extra-doc-fils: | ||
ChangeLog | ||
|
||
-- Default warnings in HLS | ||
common warnings | ||
-- Common sections are currently not supported. So, ignore! | ||
ghc-option: -Wall | ||
-Wredundant-constraints | ||
-Wunused-packages | ||
-Wno-name-shadowing | ||
-Wno-unticked-promoted-constructors | ||
|
||
source-repository head | ||
type: git | ||
loc: fake | ||
|
||
library | ||
default-lang: Haskell2010 | ||
-- Import isn't supported right now. | ||
impor: warnings | ||
build-dep: base | ||
|
||
executable my-exe | ||
mains: Main.hs | ||
|
||
test-suite Test | ||
type: exitcode-stdio-1.0 | ||
main-is: Test.hs | ||
hs-source-drs: | ||
|
37 changes: 37 additions & 0 deletions
37
plugins/hls-cabal-plugin/test/testdata/code-actions/FieldSuggestions.golden.cabal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
cabal-version: 3.0 | ||
name: FieldSuggestions | ||
version: 0.1.0 | ||
license: BSD-3-Clause | ||
|
||
build-type: Simple | ||
|
||
extra-doc-files: | ||
ChangeLog | ||
|
||
-- Default warnings in HLS | ||
common warnings | ||
-- Common sections are currently not supported. So, ignore! | ||
ghc-options: -Wall | ||
-Wredundant-constraints | ||
-Wunused-packages | ||
-Wno-name-shadowing | ||
-Wno-unticked-promoted-constructors | ||
|
||
source-repository head | ||
type: git | ||
location: fake | ||
|
||
library | ||
default-language: Haskell2010 | ||
-- Import isn't supported right now. | ||
import: warnings | ||
build-depends: base | ||
|
||
executable my-exe | ||
main-is: Main.hs | ||
|
||
test-suite Test | ||
type: exitcode-stdio-1.0 | ||
main-is: Test.hs | ||
hs-source-dirs: | ||
|