tests: minor changes

This commit is contained in:
Michele Caini
2022-08-29 17:30:26 +02:00
parent b895dfc901
commit 41081204f9
2 changed files with 4 additions and 4 deletions

View File

@@ -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>();

View File

@@ -17,9 +17,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>();