summaryrefslogtreecommitdiff
path: root/src/tests/elua
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-04-16 15:25:37 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-06 15:05:21 +0100
commite8a4f47f93605c75700d826a8339ca60bc7d32b4 (patch)
tree7e8e23d28ac4da2a22e8d70fb9c3758074b1b020 /src/tests/elua
parent3b17064c105d3f52d737e95a2e082e2bba09ea34 (diff)
elua lib: test more utility APIs
Diffstat (limited to 'src/tests/elua')
-rw-r--r--src/tests/elua/elua_lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/elua/elua_lib.c b/src/tests/elua/elua_lib.c
index 5a87929467..6d261c8574 100644
--- a/src/tests/elua/elua_lib.c
+++ b/src/tests/elua/elua_lib.c
@@ -59,6 +59,8 @@ START_TEST(elua_api)
59 fail_if(elua_util_require(st, "util")); 59 fail_if(elua_util_require(st, "util"));
60 fail_if(elua_util_string_run(st, "return 1337", "foo")); 60 fail_if(elua_util_string_run(st, "return 1337", "foo"));
61 fail_if(!elua_util_string_run(st, "foo bar", "foo")); /* invalid code */ 61 fail_if(!elua_util_string_run(st, "foo bar", "foo")); /* invalid code */
62 fail_if(!elua_util_app_load(st, "lualian"));
63 fail_if(elua_util_app_load(st, "non_existent_app"));
62 64
63 elua_state_free(st); 65 elua_state_free(st);
64 66