diff tests/js-system/main.cpp @ 566:bf56628e070b

Irccd: import new Duktape helpers
author David Demelier <markand@malikania.fr>
date Mon, 27 Nov 2017 15:03:38 +0100
parents 194162717ec9
children
line wrap: on
line diff
--- a/tests/js-system/main.cpp	Mon Nov 27 10:16:45 2017 +0100
+++ b/tests/js-system/main.cpp	Mon Nov 27 15:03:38 2017 +0100
@@ -51,7 +51,7 @@
     );
 
     if (ret != 0)
-        throw dukx_get_exception(plugin_->context(), -1);
+        throw dukx_stack(plugin_->context(), -1);
 
     BOOST_TEST(duk_get_global_string(plugin_->context(), "r"));
     BOOST_TEST(duk_get_string(plugin_->context(), -1) == IRCCD_VERSION);