Skip to content

Commit 7451f80

Browse files
tests: replace "cfg(test)" with "cfg(doctest)" for readme testing
PR #31
1 parent 1679b36 commit 7451f80

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/lib.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ Currently, `termcolor` does not provide anything to do this for you.
119119

120120
#![deny(missing_docs)]
121121

122-
#[cfg(test)]
122+
#[cfg(doctest)]
123123
use doc_comment::doctest;
124-
#[cfg(test)]
124+
#[cfg(doctest)]
125125
doctest!("../README.md");
126126

127127
use std::env;

0 commit comments

Comments
 (0)