Skip to content

Commit b7a1327

Browse files
committed
fix test
1 parent 114f8b8 commit b7a1327

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

crates/emmylua_code_analysis/src/db_index/type/type_decl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ impl LuaTypeDecl {
238238
#[derive(Debug, Eq, PartialEq, Hash, Clone)]
239239
pub enum LuaTypeIdentifier {
240240
Global(SmolStr),
241-
Local(FileId, SmolStr)
241+
Local(FileId, SmolStr),
242242
}
243243

244244
#[derive(Debug, Eq, PartialEq, Hash, Clone)]

crates/emmylua_ls/src/handlers/test/hover_function_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ mod tests {
422422
end)
423423
"#,
424424
VirtualHoverResult {
425-
value: "```lua\n(method) Observable:select(selector: fun(value: integer, index: integer?) -> any)\n```".to_string(),
425+
value: "```lua\n(method) Observable:select(selector: fun(value: integer, index: integer?) -> integer)\n```".to_string(),
426426
},
427427
));
428428
Ok(())

0 commit comments

Comments
 (0)