mirror of
https://github.com/Microsoft/vscode
synced 2024-10-05 19:02:54 +00:00
Generalize smoke text
This commit is contained in:
parent
89c8f91988
commit
e66c62f38a
|
@ -19,7 +19,7 @@ export function setup() {
|
|||
it('has a tooltp with a keybinding', async function () {
|
||||
const app = this.app as Application;
|
||||
const tooltip: string = await app.workbench.search.getSearchTooltip();
|
||||
if (!/Search \([^F]+F\)/.test(tooltip)) {
|
||||
if (!/Search \(.+\)/.test(tooltip)) {
|
||||
throw Error(`Expected search tooltip to contain keybinding but got ${tooltip}`);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue