Navigation Menu

Skip to content

Commit

Permalink
Add test attributes to test functions missing test attributes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Havvy authored and brson committed Jul 8, 2012
1 parent 1cefbf3 commit 69c2a9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libcore/to_str.rs
Expand Up @@ -97,6 +97,7 @@ mod tests {
assert ((), ((), 100)).to_str() == "((), ((), 100))";
}

#[test]
fn test_vectors() {
let x: ~[int] = ~[];
assert x.to_str() == "~[]";
Expand All @@ -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)";
Expand Down

0 comments on commit 69c2a9c

Please sign in to comment.