fix 4 repr tests due to differences in spacing. r=burningtree.
This commit is contained in:
parent
0f5bd1e506
commit
55138c739d
@ -12,5 +12,5 @@ fn main() {
|
||||
let arr = [1,2,3];
|
||||
let struc = {a: 13u8, b: arr, c: 42};
|
||||
let s = sys::log_str(&struc);
|
||||
assert(s == ~"{ a: 13, b: [ 1, 2, 3 ], c: 42 }");
|
||||
assert(s == ~"{a: 13, b: [1, 2, 3], c: 42}");
|
||||
}
|
||||
|
@ -10,8 +10,8 @@
|
||||
|
||||
fn main() {
|
||||
let act = sys::log_str(&~[1, 2, 3]);
|
||||
assert ~"~[ 1, 2, 3 ]" == act;
|
||||
assert ~"~[1, 2, 3]" == act;
|
||||
|
||||
let act = fmt!("%?/%6?", ~[1, 2, 3], ~"hi");
|
||||
assert act == ~"~[ 1, 2, 3 ]/ ~\"hi\"";
|
||||
assert act == ~"~[1, 2, 3]/ ~\"hi\"";
|
||||
}
|
||||
|
@ -62,5 +62,5 @@ fn main() {
|
||||
// because `inner`s alignment was 4.
|
||||
assert sys::size_of::<outer>() == m::size();
|
||||
|
||||
assert y == ~"{ c8: 22, t: { c64: 44 } }";
|
||||
assert y == ~"{c8: 22, t: {c64: 44}}";
|
||||
}
|
||||
|
@ -79,5 +79,5 @@ fn main() {
|
||||
// because `inner`s alignment was 4.
|
||||
assert sys::size_of::<outer>() == m::m::size();
|
||||
|
||||
assert y == ~"{ c8: 22, t: { c64: 44 } }";
|
||||
assert y == ~"{c8: 22, t: {c64: 44}}";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user