diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2013-04-30 14:36:18 +0200 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2013-05-02 08:55:08 +0200 |
| commit | 880e300ed7a35de9ecff489d7fc0d24f2e975109 (patch) | |
| tree | 41579eecd1d070c66f8d04a384008635d6eff85e /src/libstd | |
| parent | c14aa7eba88a3d0a26513dbb2a3acdcdcfc5072d (diff) | |
| download | rust-880e300ed7a35de9ecff489d7fc0d24f2e975109.tar.gz rust-880e300ed7a35de9ecff489d7fc0d24f2e975109.zip | |
mod items need to be marked with `cfg(test)` not `test`.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/cmp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/cmp.rs b/src/libstd/cmp.rs index 5d7f64a7c8f..ea3793c1374 100644 --- a/src/libstd/cmp.rs +++ b/src/libstd/cmp.rs @@ -64,7 +64,7 @@ fn test_fuzzy_eq_eps() { assert!(!(&1.5f).fuzzy_eq_eps(&0.9, &0.5)); } -#[test] +#[cfg(test)] mod test_complex{ use cmp::*; |
