mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
Enforce single quote string usage in extension tests
Single quoted string usage is already enforced everywhere except our tests. Having this inconsistent style can confuse contributors and code generation Starting with converting over tests in the `extensions` dir
This commit is contained in:
@@ -39,11 +39,11 @@ suite('github smoke test', function () {
|
||||
});
|
||||
|
||||
test('selecting non-default quick-pick item should correspond to a template', async () => {
|
||||
const template0 = Uri.file("some-imaginary-template-0");
|
||||
const template1 = Uri.file("some-imaginary-template-1");
|
||||
const template0 = Uri.file('some-imaginary-template-0');
|
||||
const template1 = Uri.file('some-imaginary-template-1');
|
||||
const templates = [template0, template1];
|
||||
|
||||
const pick = pickPullRequestTemplate(Uri.file("/"), templates);
|
||||
const pick = pickPullRequestTemplate(Uri.file('/'), templates);
|
||||
|
||||
await commands.executeCommand('workbench.action.quickOpenSelectNext');
|
||||
await commands.executeCommand('workbench.action.quickOpenSelectNext');
|
||||
@@ -53,9 +53,9 @@ suite('github smoke test', function () {
|
||||
});
|
||||
|
||||
test('selecting first quick-pick item should return undefined', async () => {
|
||||
const templates = [Uri.file("some-imaginary-file")];
|
||||
const templates = [Uri.file('some-imaginary-file')];
|
||||
|
||||
const pick = pickPullRequestTemplate(Uri.file("/"), templates);
|
||||
const pick = pickPullRequestTemplate(Uri.file('/'), templates);
|
||||
|
||||
await commands.executeCommand('workbench.action.quickOpenSelectNext');
|
||||
await commands.executeCommand('workbench.action.acceptSelectedQuickOpenItem');
|
||||
|
||||
Reference in New Issue
Block a user