Skip to content

Commit 4138d00

Browse files
committed
exclude test module when not running tests
1 parent f6a12d0 commit 4138d00

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ use std::str::FromStr;
121121

122122
use unicode_width::UnicodeWidthStr;
123123

124+
#[cfg(test)]
124125
mod tests;
125126

126127
/// A description of the options that a program can handle.
@@ -977,4 +978,4 @@ fn each_split_within(desc: &str, lim: usize) -> Vec<String> {
977978
}
978979
}
979980
rows
980-
}
981+
}

0 commit comments

Comments
 (0)