Fixed test to use Lua assert

This commit is contained in:
Timidger 2017-10-29 15:24:54 -07:00
parent 316c6976e4
commit 71fdca5477
1 changed files with 1 additions and 1 deletions

View File

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