Mercurial > irccd
diff tests/js-irccd/main.cpp @ 565:194162717ec9
Irccd: bring new duktape.hpp
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 27 Nov 2017 10:16:45 +0100 |
parents | b3a0f61a35fe |
children | bf56628e070b |
line wrap: on
line diff
--- a/tests/js-irccd/main.cpp Mon Nov 27 08:51:47 2017 +0100 +++ b/tests/js-irccd/main.cpp Mon Nov 27 10:16:45 2017 +0100 @@ -34,7 +34,7 @@ ); if (ret != 0) - throw dukx_exception(plugin_->context(), -1); + throw dukx_get_exception(plugin_->context(), -1); BOOST_TEST(duk_get_global_string(plugin_->context(), "major")); BOOST_TEST(IRCCD_VERSION_MAJOR == duk_get_int(plugin_->context(), -1)); @@ -59,7 +59,7 @@ ); if (ret != 0) - throw dukx_exception(plugin_->context(), -1); + throw dukx_get_exception(plugin_->context(), -1); BOOST_TEST(duk_get_global_string(plugin_->context(), "errno")); BOOST_TEST(1 == duk_get_int(plugin_->context(), -1)); @@ -96,7 +96,7 @@ ); if (ret != 0) - throw dukx_exception(plugin_->context(), -1); + throw dukx_get_exception(plugin_->context(), -1); BOOST_TEST(duk_get_global_string(plugin_->context(), "errno")); BOOST_TEST(EINVAL == duk_get_int(plugin_->context(), -1));