aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/doc_tests.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-02-09 14:32:53 +0000
committerAleksey Kladov <[email protected]>2020-02-09 15:03:54 +0000
commit9769c5140c9c406a4cc880e698593a6c4bcc6826 (patch)
treebb0bf39dee21d5720e5f1070b09805dfbc120cd9 /crates/ra_assists/src/doc_tests.rs
parentfb99831cb044e5fbf171bdd950a7486a01ce0d51 (diff)
Simplify Assists interface
Instead of building a physical tree structure, just "tag" related assists with the same group
Diffstat (limited to 'crates/ra_assists/src/doc_tests.rs')
-rw-r--r--crates/ra_assists/src/doc_tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_assists/src/doc_tests.rs b/crates/ra_assists/src/doc_tests.rs
index ae0e5605c..c0f9bc1fb 100644
--- a/crates/ra_assists/src/doc_tests.rs
+++ b/crates/ra_assists/src/doc_tests.rs
@@ -30,6 +30,6 @@ fn check(assist_id: &str, before: &str, after: &str) {
30 ) 30 )
31 }); 31 });
32 32
33 let actual = assist.get_first_action().edit.apply(&before); 33 let actual = assist.action.edit.apply(&before);
34 assert_eq_text!(after, &actual); 34 assert_eq_text!(after, &actual);
35} 35}