@@ -18,9 +18,9 @@ TEST(Lib, Meta) {
ud.ctx = entt::locator<entt::meta_ctx>::handle();
cr_plugin ctx;
- cr_plugin_load(ctx, PLUGIN);
-
ctx.userdata = &ud;
+
+ cr_plugin_load(ctx, PLUGIN);
cr_plugin_update(ctx);
entt::meta<double>().conv<int>();
@@ -17,9 +17,9 @@ TEST(Lib, Meta) {