mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Don't use deprecate API in tests
This commit is contained in:
@@ -1127,7 +1127,7 @@ describe "Pane", ->
|
||||
|
||||
it "restores the correct item when it doesn't implement getURI() and some items weren't deserialized", ->
|
||||
unserializable = {}
|
||||
pane.addItem(unserializable, 0)
|
||||
pane.addItem(unserializable, {index: 0})
|
||||
pane.items[2].getURI = null
|
||||
pane.activateItemAtIndex(2)
|
||||
newPane = Pane.deserialize(pane.serialize(), atom)
|
||||
|
||||
Reference in New Issue
Block a user