Add "send" test
This commit is contained in:
parent
afa343ff08
commit
62db3adde1
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue