Skip to content

Commit 3283a39

Browse files
committed
fix: tests
1 parent 43878c2 commit 3283a39

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

crates/ide-completion/src/render.rs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,6 +1176,7 @@ fn main() { let _: m::Spam = S$0 }
11761176
is_private_editable: false,
11771177
postfix_match: None,
11781178
is_definite: false,
1179+
bonus_score: 0,
11791180
},
11801181
trigger_call_info: true,
11811182
},
@@ -1204,6 +1205,7 @@ fn main() { let _: m::Spam = S$0 }
12041205
is_definite: false,
12051206
},
12061207
trigger_call_info: true,
1208+
bonus_score: 0,
12071209
},
12081210
]
12091211
"#]],
@@ -2125,6 +2127,7 @@ fn foo() {
21252127
is_private_editable: false,
21262128
postfix_match: None,
21272129
is_definite: false,
2130+
bonus_score: 0,
21282131
},
21292132
},
21302133
]
@@ -2162,6 +2165,19 @@ fn main() {
21622165
),
21632166
lookup: "foo",
21642167
detail: "fn() -> S",
2168+
relevance: CompletionRelevance {
2169+
exact_name_match: false,
2170+
type_match: None,
2171+
is_local: false,
2172+
is_item_from_trait: false,
2173+
is_name_already_imported: false,
2174+
requires_import: false,
2175+
is_op_method: false,
2176+
is_private_editable: false,
2177+
postfix_match: None,
2178+
is_definite: false,
2179+
bonus_score: 30,
2180+
},
21652181
ref_match: "&@92",
21662182
},
21672183
]

0 commit comments

Comments
 (0)