Skip to content

Commit a87481e

Browse files
committed
Fix broken spec
1 parent 6563b9b commit a87481e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/javascript-spec.coffee

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -835,10 +835,10 @@ describe "JavaScript grammar", ->
835835
836836
# https://github.com/atom/language-javascript/issues/485
837837
lines = grammar.tokenizeLines '''
838-
import a from 'a'; //
839-
import b from 'b';
838+
import a from 'a' //
839+
import b from 'b'
840840
'''
841-
expect(lines[0][11]).toEqual value: '//', scopes: ['source.js', 'comment.line.double-slash.js', 'punctuation.definition.comment.js']
841+
expect(lines[0][10]).toEqual value: '//', scopes: ['source.js', 'meta.import.js', 'comment.line.double-slash.js', 'punctuation.definition.comment.js']
842842
expect(lines[1][0]).toEqual value: 'import', scopes: ['source.js', 'meta.import.js', 'keyword.control.js']
843843
844844
describe "ES6 export", ->

0 commit comments

Comments
 (0)