aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/str-append.rs
diff options
context:
space:
mode:
authorMarijn Haverbeke <[email protected]>2011-05-12 17:24:54 +0200
committerMarijn Haverbeke <[email protected]>2011-05-12 21:30:44 +0200
commit3816e57fd2a8ab19e4ac6d4b3ddd5b49d5973ff2 (patch)
tree508982ed2f789aedd89eebd529343d9dc88b8e01 /src/test/run-pass/str-append.rs
parentTransitional change to make extfmt output lowercase module name (diff)
downloadrust-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/str-append.rs')
-rw-r--r--src/test/run-pass/str-append.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/run-pass/str-append.rs b/src/test/run-pass/str-append.rs
index afca72a8..ed2e3a7a 100644
--- a/src/test/run-pass/str-append.rs
+++ b/src/test/run-pass/str-append.rs
@@ -1,7 +1,7 @@
// -*- rust -*-
use std;
-import std.Str;
+import std::_str;
fn test1() {
let str s = "hello";
@@ -20,8 +20,8 @@ fn test2() {
log a;
log b;
- assert (Str.eq(a, "abcABCabc"));
- assert (Str.eq(b, "ABCabcABC"));
+ assert (_str::eq(a, "abcABCabc"));
+ assert (_str::eq(b, "ABCabcABC"));
}
fn main() {