aboutsummaryrefslogtreecommitdiff
path: root/crates/assists/src/tests/generated.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/assists/src/tests/generated.rs')
-rw-r--r--crates/assists/src/tests/generated.rs17
1 files changed, 17 insertions, 0 deletions
diff --git a/crates/assists/src/tests/generated.rs b/crates/assists/src/tests/generated.rs
index 41f536574..6fb2a7cac 100644
--- a/crates/assists/src/tests/generated.rs
+++ b/crates/assists/src/tests/generated.rs
@@ -882,6 +882,23 @@ fn process(map: HashMap<String, String>) {}
882} 882}
883 883
884#[test] 884#[test]
885fn doctest_replace_string_with_char() {
886 check_doc_test(
887 "replace_string_with_char",
888 r#####"
889fn main() {
890 find("{<|>");
891}
892"#####,
893 r#####"
894fn main() {
895 find('{');
896}
897"#####,
898 )
899}
900
901#[test]
885fn doctest_replace_unwrap_with_match() { 902fn doctest_replace_unwrap_with_match() {
886 check_doc_test( 903 check_doc_test(
887 "replace_unwrap_with_match", 904 "replace_unwrap_with_match",