Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Adjust test to work when TextBuffer.save is made async - #852

Merged
maxbrunsfeld merged 1 commit into
masterfrom
mb-allow-async-save-in-test
May 20, 2017
Merged

maxbrunsfeld merged 1 commit into
masterfrom
mb-allow-async-save-in-test

Conversation

@maxbrunsfeld

Copy link
Copy Markdown
Contributor

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 updates the one test in autocomplete-plus that broke due to this change to work regardless of whether save is synchronous or asynchronous.

@maxbrunsfeld
maxbrunsfeld merged commit 453d7c6 into master May 20, 2017
@maxbrunsfeld
maxbrunsfeld deleted the mb-allow-async-save-in-test branch May 20, 2017 04:14
This was referenced Jun 14, 2017
This was referenced Jun 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants