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..9fb8fc434590e6d0fe007bef2c90388ffd272fb1 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()); |