mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
Don't use deprecate API in tests
This commit is contained in:
parent
4b68e2f411
commit
98fb29800a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user