File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -472,7 +472,7 @@ at the end of the function,
472472the actual temporary file will automatically get deleted.
473473
474474``` rust,ignore
475- {{#include testing/tests/cli.rs:17 :30}}
475+ {{#include testing/tests/cli.rs:16 :30}}
476476```
477477
478478<aside class =" exercise " >
@@ -500,7 +500,7 @@ all nested files and directories within temporary directories
500500are also cleaned up after the test is completed.
501501
502502``` rust,ignore
503- {{#include testing/tests/cli.rs:31 :56}}
503+ {{#include testing/tests/cli.rs:32 :56}}
504504```
505505
506506You now know the core features of the crates ` assert_cmd ` ,
Original file line number Diff line number Diff line change 1- use std:: path:: Path ;
2-
31use assert_cmd:: cargo:: * ; // Import cargo_bin_cmd! macro and methods
42use predicates:: prelude:: * ; // Used for writing assertions
53
You can’t perform that action at this time.
0 commit comments