Skip to content

Commit b9dd7db

Browse files
author
Jonas Schievink
committed
Add more no-op tests
1 parent cde2a1d commit b9dd7db

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

crates/ide/src/typing.rs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,22 @@ fn f() {
396396
fn f(x: u8) {
397397
if x $0
398398
}
399+
"#,
400+
);
401+
type_char_noop(
402+
'=',
403+
r#"
404+
fn f(x: u8) {
405+
if x $0 {}
406+
}
407+
"#,
408+
);
409+
type_char_noop(
410+
'=',
411+
r#"
412+
fn f(x: u8) {
413+
if x $0 0 {}
414+
}
399415
"#,
400416
);
401417
type_char_noop(

0 commit comments

Comments
 (0)