Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 98a61e4

Browse files
committed
use single quotes for staring in spec file to conform 'starndard'
1 parent 1f880c4 commit 98a61e4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spec/whitespace-spec.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -109,17 +109,17 @@ describe('Whitespace', () => {
109109
describe("when 'whitespace.ignoreWhitespaceOnCurrentLine' is true", () => {
110110
beforeEach(() => atom.config.set('whitespace.ignoreWhitespaceOnCurrentLine', true))
111111

112-
describe("respects multiple cursors", () => {
113-
it("removes the whitespace from all lines, excluding the current lines", async () => {
114-
editor.insertText("1 \n2 \n3 \n")
112+
describe('respects multiple cursors', () => {
113+
it('removes the whitespace from all lines, excluding the current lines', async () => {
114+
editor.insertText('1 \n2 \n3 \n')
115115
editor.setCursorBufferPosition([1, 3])
116116
editor.addCursorAtBufferPosition([2, 3])
117117
await editor.save()
118-
expect(editor.getText()).toBe("1\n2 \n3 \n")
118+
expect(editor.getText()).toBe('1\n2 \n3 \n')
119119
})
120120
})
121121

122-
describe("when buffer is opened in multiple editors", () => {
122+
describe('when buffer is opened in multiple editors', () => {
123123
let editor2
124124
beforeEach(async () => {
125125
editor2 = atom.workspace.buildTextEditor({buffer: editor.buffer})

0 commit comments

Comments
 (0)