Fix undefined variables in tokenized-line-spec

This commit is contained in:
Nathan Sobo
2014-04-29 17:24:16 -06:00
parent 960285a270
commit 6ff2b2a01e

View File

@@ -6,7 +6,7 @@ describe "TokenizedLine", ->
describe "::getScopeTree()", ->
it "returns a tree whose inner nodes are scopes and whose leaf nodes are tokens in those scopes", ->
editor = null
[tokens, tokenIndex] = []
ensureValidScopeTree = (scopeTree, scopes=[]) ->
if scopeTree.children?