summaryrefslogtreecommitdiff
path: root/tests/tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests.rs')
-rw-r--r--tests/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests.rs b/tests/tests.rs
index 22de480..d481785 100644
--- a/tests/tests.rs
+++ b/tests/tests.rs
@@ -69,7 +69,7 @@ fn test_safety() -> Result<()> {
fn test_load() -> Result<()> {
let lua = Lua::new();
- let func = lua.load("return 1+2").into_function()?;
+ let func = lua.load("\treturn 1+2").into_function()?;
let result: i32 = func.call(())?;
assert_eq!(result, 3);