diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tests.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tests.rs b/tests/tests.rs index d7a5d65..59fb28f 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -73,6 +73,7 @@ fn test_load() -> Result<()> { let result: i32 = func.call(())?; assert_eq!(result, 3); + assert!(lua.load("").exec().is_ok()); assert!(lua.load("§$%§&$%&").exec().is_err()); Ok(()) |