From 8843588fca7a6022b86800d5d2539594c0de93cf Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 24 Apr 2020 23:51:02 +0200 Subject: Convert tests to text-size --- crates/ra_ide/src/runnables.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'crates/ra_ide/src/runnables.rs') diff --git a/crates/ra_ide/src/runnables.rs b/crates/ra_ide/src/runnables.rs index 05a66e03c..38637c19c 100644 --- a/crates/ra_ide/src/runnables.rs +++ b/crates/ra_ide/src/runnables.rs @@ -164,11 +164,11 @@ mod tests { @r###" [ Runnable { - range: [1; 21), + range: 1..21, kind: Bin, }, Runnable { - range: [22; 46), + range: 22..46, kind: Test { test_id: Path( "test_foo", @@ -179,7 +179,7 @@ mod tests { }, }, Runnable { - range: [47; 81), + range: 47..81, kind: Test { test_id: Path( "test_foo", @@ -211,13 +211,13 @@ mod tests { @r###" [ Runnable { - range: [1; 59), + range: 1..59, kind: TestMod { path: "test_mod", }, }, Runnable { - range: [28; 57), + range: 28..57, kind: Test { test_id: Path( "test_mod::test_foo1", @@ -251,13 +251,13 @@ mod tests { @r###" [ Runnable { - range: [23; 85), + range: 23..85, kind: TestMod { path: "foo::test_mod", }, }, Runnable { - range: [46; 79), + range: 46..79, kind: Test { test_id: Path( "foo::test_mod::test_foo1", @@ -293,13 +293,13 @@ mod tests { @r###" [ Runnable { - range: [41; 115), + range: 41..115, kind: TestMod { path: "foo::bar::test_mod", }, }, Runnable { - range: [68; 105), + range: 68..105, kind: Test { test_id: Path( "foo::bar::test_mod::test_foo1", -- cgit v1.2.3