提交 a3c005e1 编写于 作者: J Johannes Rieken

start with a test for #40570

上级 f744ed45
......@@ -624,4 +624,10 @@ suite('SnippetParser', () => {
const clone = transform.clone();
assert.equal(clone.resolve('my-file-name'), 'MyFileName');
});
test('problem with snippets regex #40570', function () {
const snippet = new SnippetParser().parse('${TM_DIRECTORY/.*src[\\/](.*)/$1/}');
assertMarker(snippet, Variable);
});
});
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册