eris/lua: apply clippy lints
This commit is contained in:
parent
54f858aee9
commit
3651624861
1 changed files with 2 additions and 2 deletions
|
@ -179,12 +179,12 @@ mod tests {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_expand_response_runtime_error() {
|
fn test_expand_response_runtime_error() {
|
||||||
let lua_code = r#"
|
let lua_code = r"
|
||||||
function enhance_response(text, response_type, path, token)
|
function enhance_response(text, response_type, path, token)
|
||||||
-- This will cause a runtime error
|
-- This will cause a runtime error
|
||||||
return nonexistent_variable
|
return nonexistent_variable
|
||||||
end
|
end
|
||||||
"#;
|
";
|
||||||
|
|
||||||
let script_manager = ScriptManager::with_content(lua_code);
|
let script_manager = ScriptManager::with_content(lua_code);
|
||||||
let result =
|
let result =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue