summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/module/tests/load.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/module/tests/load.rs b/tests/module/tests/load.rs
index 83a9cf8..15dc5ae 100644
--- a/tests/module/tests/load.rs
+++ b/tests/module/tests/load.rs
@@ -35,7 +35,7 @@ fn test_module_error() -> Result<()> {
r#"
local ok, err = pcall(require, "rust_module.error")
assert(not ok)
- assert(string:find(tostring(err), "custom module error"))
+ assert(string.find(tostring(err), "custom module error"))
"#,
)
.exec()