diff options
| author | Brian Anderson <banderson@mozilla.com> | 2014-07-30 20:07:41 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2014-08-13 11:31:47 -0700 |
| commit | 63cd4acf535f8df177459559fe2d7e6ab390c6d8 (patch) | |
| tree | 4f10ee436e87176f9141071d2a7a13d5ee499ba8 /src/libstd/io/test.rs | |
| parent | 734834c7d6e4862c8348a8c9660bb338773047ca (diff) | |
| download | rust-63cd4acf535f8df177459559fe2d7e6ab390c6d8.tar.gz rust-63cd4acf535f8df177459559fe2d7e6ab390c6d8.zip | |
std: Clarify what timers do with zero and negative durations
Add tests. Also fix a bunch of broken time tests.
Diffstat (limited to 'src/libstd/io/test.rs')
| -rw-r--r-- | src/libstd/io/test.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/io/test.rs b/src/libstd/io/test.rs index 331cfa1a59e..079a9aef648 100644 --- a/src/libstd/io/test.rs +++ b/src/libstd/io/test.rs @@ -39,6 +39,7 @@ macro_rules! iotest ( use io::process::*; use rt::running_on_valgrind; use str; + use time::Duration; fn f() $b |
