Add test attributes to test functions missing test attributes.

This commit is contained in:
Ryan Scheel 2012-07-08 00:39:20 -07:00 committed by Brian Anderson
parent 1cefbf3c78
commit 69c2a9c26a

View File

@ -97,6 +97,7 @@ mod tests {
assert ((), ((), 100)).to_str() == "((), ((), 100))";
}
#[test]
fn test_vectors() {
let x: ~[int] = ~[];
assert x.to_str() == "~[]";
@ -106,6 +107,7 @@ mod tests {
"~[~[], ~[1], ~[1, 1]]";
}
#[test]
fn test_pointer_types() {
assert (@1).to_str() == "@1";
assert (~(true, false)).to_str() == "~(true, false)";