mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
Don’t assume same token instances in spec now that we use shims
This commit is contained in:
@@ -27,7 +27,7 @@ describe "TokenizedLine", ->
|
||||
for child in scopeTree.children
|
||||
ensureValidScopeTree(child, scopeDescriptor.concat([scopeTree.scope]))
|
||||
else
|
||||
expect(scopeTree).toBe tokens[tokenIndex++]
|
||||
expect(scopeTree).toEqual tokens[tokenIndex++]
|
||||
expect(scopeDescriptor).toEqual scopeTree.scopes
|
||||
|
||||
waitsForPromise ->
|
||||
|
||||
Reference in New Issue
Block a user