about summary refs log tree commit diff
path: root/src/test/run-pass/class-separate-impl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/class-separate-impl.rs')
-rw-r--r--src/test/run-pass/class-separate-impl.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/run-pass/class-separate-impl.rs b/src/test/run-pass/class-separate-impl.rs
index 9bb23f55e5a..3d486144c3e 100644
--- a/src/test/run-pass/class-separate-impl.rs
+++ b/src/test/run-pass/class-separate-impl.rs
@@ -60,10 +60,10 @@ impl fmt::Show for cat {
 fn print_out(thing: Box<ToStr>, expected: String) {
   let actual = thing.to_str();
   println!("{}", actual);
-  assert_eq!(actual.to_strbuf(), expected);
+  assert_eq!(actual.to_string(), expected);
 }
 
 pub fn main() {
-  let nyan: Box<ToStr> = box cat(0u, 2, "nyan".to_strbuf()) as Box<ToStr>;
-  print_out(nyan, "nyan".to_strbuf());
+  let nyan: Box<ToStr> = box cat(0u, 2, "nyan".to_string()) as Box<ToStr>;
+  print_out(nyan, "nyan".to_string());
 }