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:
Matt Bierner
2025-10-15 01:51:43 -07:00
parent 179cd04f2a
commit 1c35a4d05c
11 changed files with 95 additions and 95 deletions

View File

@@ -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');