comparison tests/test-jsapi-util.c @ 985:6da542806ed3

tests: fix
author David Demelier <markand@malikania.fr>
date Tue, 09 Feb 2021 22:42:05 +0100
parents a518664b20a0
children 8f8ce47aba8a
comparison
equal deleted inserted replaced
984:2e4b29ab8e9c 985:6da542806ed3
28 static void 28 static void
29 setup(void *udata) 29 setup(void *udata)
30 { 30 {
31 (void)udata; 31 (void)udata;
32 32
33 plugin = js_plugin_open(SOURCE "/data/example-plugin.js"); 33 plugin = js_plugin_open("example", SOURCE "/data/example-plugin.js");
34 ctx = js_plugin_get_context(plugin); 34 ctx = js_plugin_get_context(plugin);
35 } 35 }
36 36
37 static void 37 static void
38 teardown(void *udata) 38 teardown(void *udata)