Skip to content

Commit 3fe28f9

Browse files
committed
Fix formatting errors
1 parent bcb21f4 commit 3fe28f9

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/tutorial/testing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ at the end of the function,
472472
the 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
500500
are 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

506506
You now know the core features of the crates `assert_cmd`,

src/tutorial/testing/tests/cli.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
use std::path::Path;
2-
31
use assert_cmd::cargo::*; // Import cargo_bin_cmd! macro and methods
42
use predicates::prelude::*; // Used for writing assertions
53

0 commit comments

Comments
 (0)