mpickering / haskell-ide-engine

The engine for haskell ide-integration. Not an IDE
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Change the 'only' test-case to look for CodeActionRefactor contexts #84

Closed fendor closed 4 years ago

fendor commented 4 years ago

Changes the test case such that we are only looking for CodeActionRefactor since I think we are not generating CodeActionRefactorInline Code Actions? The test-case is currently kind of redundant, since without the context restriction, we get same code actions as if there was no 'only' parameter. Could be mitigated by adding a test that checks explicitly for CodeActionRefactorInline but expects the resulting code actions to be empty