From c89e5e31cf4ea9105d99ec766705f2101f203068 Mon Sep 17 00:00:00 2001 From: Becky Siegel Date: Mon, 22 May 2017 09:59:39 -0700 Subject: [PATCH] fix lint Change-Id: I4202b557844e8641bddcf821693c7109b3881bdf --- .../gr-account-dropdown_test.html | 4 ++-- .../gr-autocomplete-dropdown_test.html | 2 +- .../shared/gr-textarea/gr-textarea_test.html | 18 +++++++++--------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/polygerrit-ui/app/elements/core/gr-account-dropdown/gr-account-dropdown_test.html b/polygerrit-ui/app/elements/core/gr-account-dropdown/gr-account-dropdown_test.html index d75856cc5e..46f3ca3e87 100644 --- a/polygerrit-ui/app/elements/core/gr-account-dropdown/gr-account-dropdown_test.html +++ b/polygerrit-ui/app/elements/core/gr-account-dropdown/gr-account-dropdown_test.html @@ -55,14 +55,14 @@ limitations under the License. [{text: 'Anonymous', bold: true}, {text: ''}]); }); - test('test for account without a name but using config', () => { + test('test for account without a name but using config', () => { element._anonymousName = 'WikiGerrit'; element.account = {id: '0001'}; assert.deepEqual(element.topContent, [{text: 'WikiGerrit', bold: true}, {text: ''}]); }); - test('test for account name as an email', () => { + test('test for account name as an email', () => { element._anonymousName = 'WikiGerrit'; element.account = {email: 'john@doe.com'}; assert.deepEqual(element.topContent, diff --git a/polygerrit-ui/app/elements/shared/gr-autocomplete-dropdown/gr-autocomplete-dropdown_test.html b/polygerrit-ui/app/elements/shared/gr-autocomplete-dropdown/gr-autocomplete-dropdown_test.html index da731ef00c..41468d1a35 100644 --- a/polygerrit-ui/app/elements/shared/gr-autocomplete-dropdown/gr-autocomplete-dropdown_test.html +++ b/polygerrit-ui/app/elements/shared/gr-autocomplete-dropdown/gr-autocomplete-dropdown_test.html @@ -197,7 +197,7 @@ limitations under the License. }); test('getCurrentText', () => { - assert.equal(element.getCurrentText(), "test value 1"); + assert.equal(element.getCurrentText(), 'test value 1'); }); }); diff --git a/polygerrit-ui/app/elements/shared/gr-textarea/gr-textarea_test.html b/polygerrit-ui/app/elements/shared/gr-textarea/gr-textarea_test.html index 3d9516e1ed..f83e8561c4 100644 --- a/polygerrit-ui/app/elements/shared/gr-textarea/gr-textarea_test.html +++ b/polygerrit-ui/app/elements/shared/gr-textarea/gr-textarea_test.html @@ -82,15 +82,15 @@ limitations under the License. test('emoji selector opens when a colon is typed & the textarea has focus', () => { - MockInteractions.focus(element.$.textarea); - flushAsynchronousOperations(); - element.text = ':'; - element.text = ':t'; - assert.isTrue(!element.$.emojiSuggestions.hidden); - assert.equal(element._colonIndex, 0); - assert.isFalse(element._hideAutocomplete); - assert.equal(element._currentSearchString, 't'); - }); + MockInteractions.focus(element.$.textarea); + flushAsynchronousOperations(); + element.text = ':'; + element.text = ':t'; + assert.isTrue(!element.$.emojiSuggestions.hidden); + assert.equal(element._colonIndex, 0); + assert.isFalse(element._hideAutocomplete); + assert.equal(element._currentSearchString, 't'); + }); test('emoji selector closes when text changes before the colon', () => { const resetStub = sandbox.stub(element, '_resetEmojiDropdown');