@@ -88,7 +88,7 @@ fn test_root_crate_workspace_accept() {
8888
8989 assert ! ( & output. status. success( ) ) ;
9090
91- assert_snapshot ! ( test_project. file_tree_diff( ) , @r### "
91+ assert_snapshot ! ( test_project. file_tree_diff( ) , @r"
9292 --- Original file tree
9393 +++ Updated file tree
9494 @@ -1,8 +1,13 @@
@@ -105,7 +105,7 @@ fn test_root_crate_workspace_accept() {
105105 src/main.rs
106106 + src/snapshots
107107 + src/snapshots/root_crate_workspace_accept__root.snap
108- "### ) ;
108+ " ) ;
109109}
110110
111111/// Check that in a workspace with a default root crate, running `cargo insta
@@ -145,7 +145,7 @@ fn test_root_crate_no_all() {
145145
146146 assert ! ( & output. status. success( ) ) ;
147147
148- assert_snapshot ! ( test_project. file_tree_diff( ) , @r### "
148+ assert_snapshot ! ( test_project. file_tree_diff( ) , @r"
149149 --- Original file tree
150150 +++ Updated file tree
151151 @@ -1,4 +1,5 @@
@@ -160,7 +160,7 @@ fn test_root_crate_no_all() {
160160 src/main.rs
161161 + src/snapshots
162162 + src/snapshots/root_crate_no_all__root.snap
163- "### ) ;
163+ " ) ;
164164}
165165
166166fn workspace_with_virtual_manifest ( name : String ) -> TestFiles {
@@ -247,7 +247,7 @@ fn test_virtual_manifest_all() {
247247
248248 assert ! ( & output. status. success( ) ) ;
249249
250- assert_snapshot ! ( test_project. file_tree_diff( ) , @r### "
250+ assert_snapshot ! ( test_project. file_tree_diff( ) , @r"
251251 --- Original file tree
252252 +++ Updated file tree
253253 @@ -1,10 +1,15 @@
@@ -266,7 +266,7 @@ fn test_virtual_manifest_all() {
266266 member-2/src/lib.rs
267267 + member-2/src/snapshots
268268 + member-2/src/snapshots/virtual_manifest_all_member_2__member_2.snap
269- "### ) ;
269+ " ) ;
270270}
271271
272272/// Check that in a workspace with a virtual manifest, running `cargo insta test
@@ -284,7 +284,7 @@ fn test_virtual_manifest_default() {
284284
285285 assert ! ( & output. status. success( ) ) ;
286286
287- assert_snapshot ! ( test_project. file_tree_diff( ) , @r### "
287+ assert_snapshot ! ( test_project. file_tree_diff( ) , @r"
288288 --- Original file tree
289289 +++ Updated file tree
290290 @@ -1,10 +1,15 @@
@@ -303,7 +303,7 @@ fn test_virtual_manifest_default() {
303303 member-2/src/lib.rs
304304 + member-2/src/snapshots
305305 + member-2/src/snapshots/virtual_manifest_default_member_2__member_2.snap
306- "### ) ;
306+ " ) ;
307307}
308308
309309/// Check that in a workspace with a virtual manifest, running `cargo insta test
@@ -321,7 +321,7 @@ fn test_virtual_manifest_single_crate() {
321321
322322 assert ! ( & output. status. success( ) ) ;
323323
324- assert_snapshot ! ( test_project. file_tree_diff( ) , @r### "
324+ assert_snapshot ! ( test_project. file_tree_diff( ) , @r"
325325 --- Original file tree
326326 +++ Updated file tree
327327 @@ -1,9 +1,12 @@
@@ -337,7 +337,7 @@ fn test_virtual_manifest_single_crate() {
337337 member-2
338338 member-2/Cargo.toml
339339 member-2/src
340- "### ) ;
340+ " ) ;
341341}
342342
343343use std:: path:: { Path , PathBuf } ;
@@ -943,7 +943,7 @@ fn test_inline() {
943943 assert ! ( output. status. success( ) ) ;
944944
945945 // Verify inline snapshot
946- assert_snapshot ! ( test_project. diff( "src/lib.rs" ) , @r## "
946+ assert_snapshot ! ( test_project. diff( "src/lib.rs" ) , @r#"
947947 --- Original: src/lib.rs
948948 +++ Updated: src/lib.rs
949949 @@ -10,5 +10,5 @@
@@ -953,7 +953,7 @@ fn test_inline() {
953953 - insta::assert_snapshot!("This is an inline snapshot for manifest path test", @"");
954954 + insta::assert_snapshot!("This is an inline snapshot for manifest path test", @"This is an inline snapshot for manifest path test");
955955 }
956- "## ) ;
956+ "# ) ;
957957 assert_snapshot ! ( test_project. file_tree_diff( ) , @r"
958958 --- Original file tree
959959 +++ Updated file tree
0 commit comments