mirror of
https://github.com/mlua-rs/mlua
synced 2026-06-08 16:05:43 +00:00
Fixed test to use Lua assert
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ fn test_load() {
|
||||
#[test]
|
||||
fn test_load_debug() {
|
||||
let lua = Lua::new();
|
||||
lua.eval::<()>("debug", None).unwrap();
|
||||
lua.exec::<()>("assert(debug == nil)", None).unwrap();
|
||||
unsafe {
|
||||
lua.load_debug();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user