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/libcore/task | |
| 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/libcore/task')
| -rw-r--r-- | src/libcore/task/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/task/mod.rs b/src/libcore/task/mod.rs index 2a4817727f4..0e97c101dc6 100644 --- a/src/libcore/task/mod.rs +++ b/src/libcore/task/mod.rs @@ -797,7 +797,7 @@ fn test_run_basic() { po.recv(); } -#[test] +#[cfg(test)] struct Wrapper { mut f: Option<Chan<()>> } |
