Replace all ~"" with "".to_owned()
This commit is contained in:
parent
b75683cadf
commit
919889a1d6
383 changed files with 2906 additions and 2813 deletions
|
@ -411,7 +411,7 @@ mod tests {
|
|||
set_stdout(~w);
|
||||
println!("hello!");
|
||||
});
|
||||
assert_eq!(r.read_to_str().unwrap(), ~"hello!\n");
|
||||
assert_eq!(r.read_to_str().unwrap(), "hello!\n".to_owned());
|
||||
})
|
||||
|
||||
iotest!(fn capture_stderr() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue