Fix plugin test

This commit is contained in:
J Henry Waugh 2020-08-12 23:47:57 -05:00
parent a25f6b35a1
commit 0fb61eab00

View File

@ -22,7 +22,7 @@ fn test_plugins_package() -> Result<(), Box<EvalAltResult>> {
let mut engine = Engine::new();
let mut m = exported_module!(special_array_package);
register_exported_fn!(m, "greet", make_greeting);
set_exported_fn!(m, "greet", make_greeting);
engine.load_package(m);