aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/lib-io.rs
diff options
context:
space:
mode:
authorMarijn Haverbeke <[email protected]>2011-05-06 22:13:13 +0200
committerMarijn Haverbeke <[email protected]>2011-05-06 22:51:19 +0200
commita3ec0b1f643d00b9418e4884bd7caa07bf052201 (patch)
tree82000510ac9c9cf3f0c7cf4ae5f3c6b123b559cb /src/test/run-pass/lib-io.rs
parentRegister new snapshots. (diff)
downloadrust-a3ec0b1f643d00b9418e4884bd7caa07bf052201.tar.xz
rust-a3ec0b1f643d00b9418e4884bd7caa07bf052201.zip
Rename std modules to be camelcased
(Have fun mergining your stuff with this.)
Diffstat (limited to 'src/test/run-pass/lib-io.rs')
-rw-r--r--src/test/run-pass/lib-io.rs10
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 5c97c2f0..e124cde3 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) {