diff --git a/src/lune/globals/version.rs b/src/lune/globals/version.rs new file mode 100644 index 0000000..c073bad --- /dev/null +++ b/src/lune/globals/version.rs @@ -0,0 +1,5 @@ +use mlua::prelude::*; + +pub fn create(lua: &'static Lua) -> LuaResult> { + lua.create_table() +} diff --git a/src/tests.rs b/src/tests.rs index af56722..5380e5d 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -79,13 +79,11 @@ create_tests! { require_siblings: "require/tests/siblings", global_g_table: "globals/_G", - // TODO: Uncomment this test, it is commented out right - // now to let CI pass so that we can make a new release - // global_coroutine: "globals/coroutine", + global_version: "globals/_VERSION", + global_coroutine: "globals/coroutine", global_pcall: "globals/pcall", global_type: "globals/type", global_typeof: "globals/typeof", - global_version: "globals/version", serde_compression_files: "serde/compression/files", serde_compression_roundtrip: "serde/compression/roundtrip", diff --git a/tests/globals/version.luau b/tests/globals/_VERSION.luau similarity index 100% rename from tests/globals/version.luau rename to tests/globals/_VERSION.luau