Skip to content

Commit 146af63

Browse files
Update unit_testing.md ignore running the last example because it's test
1 parent 933c339 commit 146af63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/testing/unit_testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
199199
Tests can be marked with the `#[ignore]` attribute to exclude some tests. Or to run
200200
them with command `cargo test -- --ignored`
201201

202-
```rust
202+
```rust,ignore
203203
pub fn add(a: i32, b: i32) -> i32 {
204204
a + b
205205
}

0 commit comments

Comments
 (0)