Change <|> to $0 - Rebase

This commit is contained in:
Kevaundray Wedderburn 2021-01-06 20:15:48 +00:00
parent 171c3c08fe
commit 72b9a4fbd3
110 changed files with 1745 additions and 1765 deletions

View file

@ -83,7 +83,7 @@ mod tests {
#[test]
fn completes_snippets_in_expressions() {
check(
r#"fn foo(x: i32) { <|> }"#,
r#"fn foo(x: i32) { $0 }"#,
expect![[r#"
sn pd
sn ppd
@ -93,8 +93,8 @@ mod tests {
#[test]
fn should_not_complete_snippets_in_path() {
check(r#"fn foo(x: i32) { ::foo<|> }"#, expect![[""]]);
check(r#"fn foo(x: i32) { ::<|> }"#, expect![[""]]);
check(r#"fn foo(x: i32) { ::foo$0 }"#, expect![[""]]);
check(r#"fn foo(x: i32) { ::$0 }"#, expect![[""]]);
}
#[test]
@ -103,7 +103,7 @@ mod tests {
r#"
#[cfg(test)]
mod tests {
<|>
$0
}
"#,
expect![[r#"