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]
|
||||
fn test_expand_response_runtime_error() {
|
||||
let lua_code = r#"
|
||||
let lua_code = r"
|
||||
function enhance_response(text, response_type, path, token)
|
||||
-- This will cause a runtime error
|
||||
return nonexistent_variable
|
||||
end
|
||||
"#;
|
||||
";
|
||||
|
||||
let script_manager = ScriptManager::with_content(lua_code);
|
||||
let result =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue