The TextBuffer.save method is going to become async in atom/atom#14435; instead of doing a synchronous write, it will initiate an asynchronous write and return a promise when the write completes. This shouldn't affect the user-facing functionality of many packages; but several packages may have test failures.
This PR updates the two tests in symbols-view that broke due to this change, so that they work regardless of whether save is synchronous or asynchronous.
The
TextBuffer.save
method is going to become async in atom/atom#14435; instead of doing a synchronous write, it will initiate an asynchronous write and return a promise when the write completes. This shouldn't affect the user-facing functionality of many packages; but several packages may have test failures.This PR updates the two tests in
symbols-view
that broke due to this change, so that they work regardless of whether save is synchronous or asynchronous.