Commit 798f51c9 authored by Richard Stotz's avatar Richard Stotz Committed by Commit Bot

NativeIO: Added a missing await in the WPT for rename.

Bug: 1097126
Change-Id: I3775c97543b4603e910f5cf4ec1f5a7207fd7276
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2308420Reviewed-by: default avatarMike West <mkwst@chromium.org>
Commit-Queue: Richard Stotz <rstz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#790382}
parent c1e2838f
...@@ -93,8 +93,8 @@ promise_test(async testCase => { ...@@ -93,8 +93,8 @@ promise_test(async testCase => {
closed_file.close(); closed_file.close();
const opened_file = await nativeIO.open('opened_file'); const opened_file = await nativeIO.open('opened_file');
testCase.add_cleanup(async () => { testCase.add_cleanup(async () => {
closed_file.close(); await closed_file.close();
opened_file.close(); await opened_file.close();
await nativeIO.delete('closed_file'); await nativeIO.delete('closed_file');
await nativeIO.delete('opened_file'); await nativeIO.delete('opened_file');
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment