summaryrefslogtreecommitdiff
path: root/Tests/LibJS/test-bytecode-js.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/LibJS/test-bytecode-js.cpp')
-rw-r--r--Tests/LibJS/test-bytecode-js.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/LibJS/test-bytecode-js.cpp b/Tests/LibJS/test-bytecode-js.cpp
index 344267561d..e19bdc02c1 100644
--- a/Tests/LibJS/test-bytecode-js.cpp
+++ b/Tests/LibJS/test-bytecode-js.cpp
@@ -28,7 +28,7 @@
auto result = bytecode_interpreter.run(*executable); \
EXPECT(!result.is_error()); \
if (result.is_error()) \
- dbgln("Error: {}", MUST(result.throw_completion().value()->to_string(vm)));
+ dbgln("Error: {}", MUST(result.throw_completion().value()->to_deprecated_string(vm)));
#define EXPECT_NO_EXCEPTION_WITH_OPTIMIZATIONS(executable) \
auto& passes = JS::Bytecode::Interpreter::optimization_pipeline(); \
@@ -38,7 +38,7 @@
\
EXPECT(!result_with_optimizations.is_error()); \
if (result_with_optimizations.is_error()) \
- dbgln("Error: {}", MUST(result_with_optimizations.throw_completion().value()->to_string(vm)));
+ dbgln("Error: {}", MUST(result_with_optimizations.throw_completion().value()->to_deprecated_string(vm)));
#define EXPECT_NO_EXCEPTION_ALL(source) \
SETUP_AND_PARSE("(() => {\n" source "\n})()") \