mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
TokenizedBuffer constructor now takes an object
This commit is contained in:
@@ -407,7 +407,7 @@ describe "TokenizedBuffer", ->
|
||||
describe ".bufferRangeForScopeAtPosition(selector, position)", ->
|
||||
beforeEach ->
|
||||
buffer = project.bufferForPath('sample.js')
|
||||
tokenizedBuffer = new TokenizedBuffer(buffer)
|
||||
tokenizedBuffer = new TokenizedBuffer({buffer})
|
||||
fullyTokenize(tokenizedBuffer)
|
||||
|
||||
describe "when the selector does not match the token at the position", ->
|
||||
|
||||
Reference in New Issue
Block a user