Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/walkdir.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2020-05-07 15:06:55 +0300
committerGitHub <noreply@github.com>2020-05-07 15:06:55 +0300
commit0b3ff12ff593cd5626aeafbe31f6e06046ab356b (patch)
tree02515708a786fa04ab61a9ed8dd05dd7d83ec506
parentbab4066b218dc20a625d405e02433d882237d59c (diff)
tests: replace "cfg(test)" with "cfg(doctest)" for readme testing
PR #135
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 5132dd5..f3c1da0 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -106,7 +106,7 @@ for entry in walker.filter_entry(|e| !is_hidden(e)) {
#![deny(missing_docs)]
#![allow(unknown_lints)]
-#[cfg(test)]
+#[cfg(doctest)]
doc_comment::doctest!("../README.md");
use std::cmp::{min, Ordering};