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/ide/src/runnables.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'crates/ide/src/runnables.rs') diff --git a/crates/ide/src/runnables.rs b/crates/ide/src/runnables.rs index f4030f3ef..557563d7e 100644 --- a/crates/ide/src/runnables.rs +++ b/crates/ide/src/runnables.rs @@ -329,7 +329,7 @@ mod tests { check( r#" //- /lib.rs -<|> +$0 fn main() {} #[test] @@ -425,7 +425,7 @@ fn bench() {} check( r#" //- /lib.rs -<|> +$0 fn main() {} /// ``` @@ -573,7 +573,7 @@ struct StructWithRunnable(String); check( r#" //- /lib.rs -<|> +$0 fn main() {} struct Data; @@ -625,7 +625,7 @@ impl Data { check( r#" //- /lib.rs -<|> +$0 mod test_mod { #[test] fn test_foo1() {} @@ -679,7 +679,7 @@ mod test_mod { check( r#" //- /lib.rs -<|> +$0 mod root_tests { mod nested_tests_0 { mod nested_tests_1 { @@ -819,7 +819,7 @@ mod root_tests { check( r#" //- /lib.rs crate:foo cfg:feature=foo -<|> +$0 #[test] #[cfg(feature = "foo")] fn test_foo1() {} @@ -864,7 +864,7 @@ fn test_foo1() {} check( r#" //- /lib.rs crate:foo cfg:feature=foo,feature=bar -<|> +$0 #[test] #[cfg(all(feature = "foo", feature = "bar"))] fn test_foo1() {} @@ -919,7 +919,7 @@ fn test_foo1() {} check( r#" //- /lib.rs -<|> +$0 mod test_mod { fn foo1() {} } @@ -938,7 +938,7 @@ mod test_mod { //- /lib.rs mod foo; //- /foo.rs -struct Foo;<|> +struct Foo;$0 impl Foo { /// ``` /// let x = 5; -- cgit v1.2.3