Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix 4 repr tests due to differences in spacing. r=burningtree.

  • Loading branch information...
commit 55138c739dee18361983fc4ef6bd983067785457 1 parent 0f5bd1e
@graydon graydon authored
View
2  src/test/run-pass/fixed_length_vec_glue.rs
@@ -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}");
}
View
4 src/test/run-pass/log-str.rs
@@ -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\"";
}
View
2  src/test/run-pass/rec-align-u32.rs
@@ -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}}";
}
View
2  src/test/run-pass/rec-align-u64.rs
@@ -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}}";
}
Please sign in to comment.
Something went wrong with that request. Please try again.