2012-01-11 11:09:46 -06:00
|
|
|
fn main() {
|
2012-09-20 17:37:43 -05:00
|
|
|
let act = sys::log_str(&~[1, 2, 3]);
|
2012-09-13 17:05:03 -05:00
|
|
|
assert ~"~[ 1, 2, 3 ]" == act;
|
|
|
|
|
|
|
|
let act = fmt!("%?/%6?", ~[1, 2, 3], ~"hi");
|
|
|
|
assert act == ~"~[ 1, 2, 3 ]/ ~\"hi\"";
|
2012-01-11 11:09:46 -06:00
|
|
|
}
|