Skip to content

Commit

Permalink
Remove check for precise completion redhat-developer#204
Browse files Browse the repository at this point in the history
the "textEdit" is not provided due to an existing bug on master
redhat-developer#288

Signed-off-by: Aurélien Pupier <[email protected]>
  • Loading branch information
apupier committed Jul 22, 2020
1 parent b3ae1c5 commit 73567b2
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions test/autoCompletion.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -951,20 +951,11 @@ suite('Auto Completion Tests', () => {
const completionDoc1 = parseSetup(content, documentContent1.length);
completionDoc1.then(function (result) {
assert.equal(result.items.length, 3, `Expecting 3 items in completion but found ${result.items.length}`);
assert.deepEqual(result.items[0], createExpectedCompletion('prop1', 'prop1: $1', 0, 2, 0, 2, 10, 2, {
documentation: ''
}));
assert.deepEqual(result.items[1], createExpectedCompletion('prop2', 'prop2: $1', 0, 2, 0, 2, 10, 2, {
documentation: ''
}));
assert.deepEqual(result.items[2], createExpectedCompletion('prop3', 'prop3: $1', 0, 2, 0, 2, 10, 2, {
documentation: ''
}));
const completionDoc2 = parseSetup(content, content.length);
completionDoc2.then(function (resultDoc2) {
assert.equal(resultDoc2.items.length, 0, `Expecting no items in completion but found ${resultDoc2.items.length}`);
}).then(done, done);
});
}, done);

});
});
Expand Down

0 comments on commit 73567b2

Please sign in to comment.