aboutsummaryrefslogtreecommitdiff
path: root/crates/libeditor/tests
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-22 17:02:37 +0100
committerAleksey Kladov <[email protected]>2018-08-22 17:06:30 +0100
commit8d82d1551ee09faa5d46a58c17c40c2515d3f3b9 (patch)
treebdff5ca6dc2d4be1ef0aca616ba920d8ff2933e0 /crates/libeditor/tests
parent147578f0fe28dee9ba3bfe3ed8805ffe3a525611 (diff)
Extend add impl
Diffstat (limited to 'crates/libeditor/tests')
-rw-r--r--crates/libeditor/tests/test.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/crates/libeditor/tests/test.rs b/crates/libeditor/tests/test.rs
index 3b0ec78eb..42926ffc8 100644
--- a/crates/libeditor/tests/test.rs
+++ b/crates/libeditor/tests/test.rs
@@ -151,11 +151,11 @@ fn test_add_impl() {
151 "struct Foo {}\n\nimpl Foo {\n<|>\n}\n", 151 "struct Foo {}\n\nimpl Foo {\n<|>\n}\n",
152 |file, off| add_impl(file, off).map(|f| f()), 152 |file, off| add_impl(file, off).map(|f| f()),
153 ); 153 );
154 // check_action( 154 check_action(
155 // "struct Foo<T: Clone> {<|>}", 155 "struct Foo<T: Clone> {<|>}",
156 // "struct Foo<T: Clone> {}\nimpl<T: Clone> Foo<T> {\n<|>\n}", 156 "struct Foo<T: Clone> {}\n\nimpl<T: Clone> Foo<T> {\n<|>\n}",
157 // |file, off| add_impl(file, off).map(|f| f()), 157 |file, off| add_impl(file, off).map(|f| f()),
158 // ); 158 );
159} 159}
160 160
161#[test] 161#[test]