From 72b9a4fbd3c12f3250b9157a1d44230e04ec8b22 Mon Sep 17 00:00:00 2001 From: Kevaundray Wedderburn Date: Wed, 6 Jan 2021 20:15:48 +0000 Subject: Change <|> to $0 - Rebase --- crates/completion/src/completions/snippet.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crates/completion/src/completions/snippet.rs') diff --git a/crates/completion/src/completions/snippet.rs b/crates/completion/src/completions/snippet.rs index b5e704696..df17a15c5 100644 --- a/crates/completion/src/completions/snippet.rs +++ b/crates/completion/src/completions/snippet.rs @@ -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#" -- cgit v1.2.3