Index: test/inspector/runtime/evaluate-async-with-wrap-error.js |
diff --git a/test/inspector/runtime/evaluate-async-with-wrap-error.js b/test/inspector/runtime/evaluate-async-with-wrap-error.js |
index 8188f82112b10d98895703f5f0c6d5a90ebd4dbe..e5da89ecfc680037067dcda1b19e62bbdf6bf639 100644 |
--- a/test/inspector/runtime/evaluate-async-with-wrap-error.js |
+++ b/test/inspector/runtime/evaluate-async-with-wrap-error.js |
@@ -10,6 +10,6 @@ var evaluateArguments = { |
returnByValue: true, |
awaitPromise: true |
}; |
-InspectorTest.sendCommandPromise("Runtime.evaluate", evaluateArguments) |
+Protocol.Runtime.evaluate(evaluateArguments) |
.then(message => InspectorTest.logMessage(message)) |
- .then(_ => InspectorTest.completeTest()); |
+ .then(() => InspectorTest.completeTest()); |