Add "send" test

This commit is contained in:
Alex Orlenko
2022-05-26 22:22:23 +01:00
parent afa343ff08
commit 62db3adde1
+11
View File
@@ -1272,3 +1272,14 @@ fn test_luajit_cdata() {
)
.eval();
}
#[test]
#[cfg(feature = "send")]
fn test_send() {
let lua = Lua::new();
std::thread::spawn(move || {
let _lua = lua;
})
.join()
.unwrap();
}