From 106b9045c61d49b2851b518d4e7dba1fb426f2ed Mon Sep 17 00:00:00 2001 From: sockmaster27 <61235930+sockmaster27@users.noreply.github.com> Date: Mon, 3 Jun 2024 23:06:42 +0200 Subject: [PATCH] chore: remove hover in broken project test --- test/src/hover.test.ts | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/test/src/hover.test.ts b/test/src/hover.test.ts index 49764e0..6457ebb 100644 --- a/test/src/hover.test.ts +++ b/test/src/hover.test.ts @@ -16,7 +16,7 @@ import * as assert from 'assert' import * as vscode from 'vscode' -import { getTestDocUri, activate, open, typeText } from './util' +import { getTestDocUri, activate, open } from './util' suite('Hover info', () => { const docUri = getTestDocUri('src/Main.flix') @@ -79,16 +79,4 @@ suite('Hover info', () => { 'Computes the area of the given shape using pattern matching and basic arithmetic.', ) }) - - test('Hovering on area()-call in broken project should still show def', async () => { - // Create a syntax error - // `def area(s: Shape): Int32` -> `def area(s: Shape)asdf: Int32` - const editor = vscode.window.activeTextEditor - editor.selection = new vscode.Selection(new vscode.Position(14, 18), new vscode.Position(14, 18)) - await typeText('asdf') - - const position = new vscode.Position(10, 12) - await testHoverAtPosition(position, '(Information may not be current)') - await testHoverAtPosition(position, 'def area(s: Shape): Int32') - }) })