提交 2a51ece4 编写于 作者: J Johannes Rieken

fix #26995

上级 fd141660
......@@ -446,6 +446,7 @@ _seps['/'] = true;
_seps['\\'] = true;
_seps['\''] = true;
_seps['"'] = true;
_seps[':'] = true;
const enum Arrow { Top = 0b1, Diag = 0b10, Left = 0b100 }
......
......@@ -320,6 +320,11 @@ suite('Filters', () => {
);
});
test('Fuzzy IntelliSense matching vs Haxe metadata completion, #26995', function () {
assertMatches('f', ':Foo', ':^Foo', fuzzyScore);
assertMatches('f', ':foo', ':^foo', fuzzyScore);
});
function assertTopScore(filter: typeof fuzzyScore, pattern: string, expected: number, ...words: string[]) {
let topScore = -(100 * 10);
let topIdx = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册