Don’t assume same token instances in spec now that we use shims

This commit is contained in:
Nathan Sobo
2015-05-12 19:39:10 +02:00
parent 8ab9a9f9bb
commit 2765753791

View File

@@ -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 ->