Skip to content

fix: disable tests for unsupported renamings #464

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions test/src/rename.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,20 +94,24 @@ suite('Rename', () => {
})
////////////////////////////////////////////////////////////

test('Should rename area function', async () => {
// Skipped since renaming of functions is currently unsupported
test.skip('Should rename area function', async () => {
await testRename(areaDocUri, new vscode.Position(3, 4), [
[areaDocUri, [new vscode.Range(3, 4, 3, 8), new vscode.Range(12, 39, 12, 43)]],
[mainDocUri, [new vscode.Range(10, 12, 10, 16)]],
])
})
test('Should rename area function-use', async () => {

// Skipped since renaming of functions is currently unsupported
test.skip('Should rename area function-use', async () => {
await testRename(areaDocUri, new vscode.Position(12, 39), [
[areaDocUri, [new vscode.Range(3, 4, 3, 8), new vscode.Range(12, 39, 12, 43)]],
[mainDocUri, [new vscode.Range(10, 12, 10, 16)]],
])
})

test('Should rename Day type alias', async () => {
// Skipped since renaming of functions is currently unsupported
test.skip('Should rename Day type alias', async () => {
await testRename(dateDocUri, new vscode.Position(18, 11), [
[dateDocUri, [new vscode.Range(18, 11, 18, 14), new vscode.Range(21, 23, 21, 26)]],
])
Expand Down Expand Up @@ -146,7 +150,8 @@ suite('Rename', () => {
])
})

test('Should rename record label', async () => {
// Skipped since record labels is currently unsupported
test.skip('Should rename record label', async () => {
await testRename(recordsDocUri, new vscode.Position(3, 6), [
[
recordsDocUri,
Expand Down
Loading