Skip to content

Commit 84013e2

Browse files
committed
fix double quote issues
1 parent f80a6f9 commit 84013e2

3 files changed

Lines changed: 101 additions & 101 deletions

File tree

extensions/emmet/src/test/abbreviationAction.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ suite('Tests for Expand Abbreviations (HTML)', () => {
362362
});
363363

364364
test('Expand html when inside script tag with javascript type if js is mapped to html (HTML)', async () => {
365-
await workspace.getConfiguration('emmet').update('includeLanguages', { "javascript": "html" }, ConfigurationTarget.Global);
365+
await workspace.getConfiguration('emmet').update('includeLanguages', { 'javascript': 'html' }, ConfigurationTarget.Global);
366366
await withRandomFileEditor(htmlContents, 'html', async (editor, _doc) => {
367367
editor.selection = new Selection(24, 10, 24, 10);
368368
let expandPromise = expandEmmetAbbreviation(null);
@@ -378,7 +378,7 @@ suite('Tests for Expand Abbreviations (HTML)', () => {
378378
test('Expand html in completion list when inside script tag with javascript type if js is mapped to html (HTML)', async () => {
379379
const abbreviation = 'span.bye';
380380
const expandedText = '<span class="bye"></span>';
381-
await workspace.getConfiguration('emmet').update('includeLanguages', { "javascript": "html" }, ConfigurationTarget.Global);
381+
await workspace.getConfiguration('emmet').update('includeLanguages', { 'javascript': 'html' }, ConfigurationTarget.Global);
382382
await withRandomFileEditor(htmlContents, 'html', async (editor, _doc) => {
383383
editor.selection = new Selection(24, 10, 24, 10);
384384
const cancelSrc = new CancellationTokenSource();
@@ -448,7 +448,7 @@ suite('Tests for jsx, xml and xsl', () => {
448448
});
449449

450450
test('Expand abbreviation with single quotes for jsx', async () => {
451-
await workspace.getConfiguration('emmet').update('syntaxProfiles', { jsx: { "attr_quotes": "single" } }, ConfigurationTarget.Global);
451+
await workspace.getConfiguration('emmet').update('syntaxProfiles', { jsx: { 'attr_quotes': 'single' } }, ConfigurationTarget.Global);
452452
return withRandomFileEditor('img', 'javascriptreact', async (editor, _doc) => {
453453
editor.selection = new Selection(0, 6, 0, 6);
454454
await expandEmmetAbbreviation({ language: 'javascriptreact' });

extensions/git/src/repository.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1721,7 +1721,7 @@ export class Repository implements Disposable {
17211721

17221722
if (branchName) {
17231723
// '{0}' will be replaced by the corresponding key-command later in the process, which is why it needs to stay.
1724-
this._sourceControl.inputBox.placeholder = localize('commitMessageWithHeadLabel', "Message ({0} to commit on '{1}')", "{0}", branchName);
1724+
this._sourceControl.inputBox.placeholder = localize('commitMessageWithHeadLabel', "Message ({0} to commit on '{1}')", '{0}', branchName);
17251725
} else {
17261726
this._sourceControl.inputBox.placeholder = localize('commitMessage', "Message ({0} to commit)");
17271727
}

0 commit comments

Comments
 (0)