diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-11-17 15:45:30 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2019-11-17 15:45:30 +0000 |
commit | 64dac40a8665c851e48c50e6f778a51aeac2838e (patch) | |
tree | 67b62c8c85fe073172c124c98a72269a677c0903 /crates/test_utils/src | |
parent | 4f0d4c65a597318165d3a034cf6fd615872b7b74 (diff) | |
parent | 7e2f4b30db8a0d734b3a1fc9f6ad77b2adc9aa2a (diff) |
Merge #2287
2287: Disable doctests r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/test_utils/src')
-rw-r--r-- | crates/test_utils/src/marks.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/test_utils/src/marks.rs b/crates/test_utils/src/marks.rs index 1c268b49c..fe1813947 100644 --- a/crates/test_utils/src/marks.rs +++ b/crates/test_utils/src/marks.rs | |||
@@ -4,7 +4,7 @@ | |||
4 | //! See <https://matklad.github.io/2018/06/18/a-trick-for-test-maintenance.html> | 4 | //! See <https://matklad.github.io/2018/06/18/a-trick-for-test-maintenance.html> |
5 | //! for details, but the TL;DR is that you write your test as | 5 | //! for details, but the TL;DR is that you write your test as |
6 | //! | 6 | //! |
7 | //! ```rust,no_run | 7 | //! ``` |
8 | //! #[test] | 8 | //! #[test] |
9 | //! fn test_foo() { | 9 | //! fn test_foo() { |
10 | //! covers!(test_foo); | 10 | //! covers!(test_foo); |
@@ -13,7 +13,7 @@ | |||
13 | //! | 13 | //! |
14 | //! and in the code under test you write | 14 | //! and in the code under test you write |
15 | //! | 15 | //! |
16 | //! ```rust,no_run | 16 | //! ``` |
17 | //! # use test_utils::tested_by; | 17 | //! # use test_utils::tested_by; |
18 | //! # fn some_condition() -> bool { true } | 18 | //! # fn some_condition() -> bool { true } |
19 | //! fn foo() { | 19 | //! fn foo() { |