diff options
| author | Marijn Haverbeke <[email protected]> | 2011-05-12 17:24:54 +0200 |
|---|---|---|
| committer | Marijn Haverbeke <[email protected]> | 2011-05-12 21:30:44 +0200 |
| commit | 3816e57fd2a8ab19e4ac6d4b3ddd5b49d5973ff2 (patch) | |
| tree | 508982ed2f789aedd89eebd529343d9dc88b8e01 /src/test/run-pass/lib-io.rs | |
| parent | Transitional change to make extfmt output lowercase module name (diff) | |
| download | rust-3816e57fd2a8ab19e4ac6d4b3ddd5b49d5973ff2.tar.xz rust-3816e57fd2a8ab19e4ac6d4b3ddd5b49d5973ff2.zip | |
Downcase std modules again, move to :: for module dereferencing
This should be a snapshot transition.
Diffstat (limited to 'src/test/run-pass/lib-io.rs')
| -rw-r--r-- | src/test/run-pass/lib-io.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/run-pass/lib-io.rs b/src/test/run-pass/lib-io.rs index e124cde3..53c13912 100644 --- a/src/test/run-pass/lib-io.rs +++ b/src/test/run-pass/lib-io.rs @@ -5,8 +5,8 @@ // -*- rust -*- use std; -import std.IO; -import std.Str; +import std::io; +import std::_str; fn test_simple(str tmpfilebase) { let str tmpfile = tmpfilebase + ".tmp"; @@ -15,14 +15,14 @@ fn test_simple(str tmpfilebase) { log frood; { - let IO.writer out = IO.file_writer(tmpfile, vec(IO.create)); + let io::writer out = io::file_writer(tmpfile, vec(io::create)); out.write_str(frood); } - let IO.reader inp = IO.file_reader(tmpfile); + let io::reader inp = io::file_reader(tmpfile); let str frood2 = inp.read_c_str(); log frood2; - assert (Str.eq(frood, frood2)); + assert (_str::eq(frood, frood2)); } fn main(vec[str] argv) { |