Skip to content

Commit 69c2a9c

Browse files
Havvybrson
authored andcommitted
Add test attributes to test functions missing test attributes.
1 parent 1cefbf3 commit 69c2a9c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libcore/to_str.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ mod tests {
9797
assert ((), ((), 100)).to_str() == "((), ((), 100))";
9898
}
9999

100+
#[test]
100101
fn test_vectors() {
101102
let x: ~[int] = ~[];
102103
assert x.to_str() == "~[]";
@@ -106,6 +107,7 @@ mod tests {
106107
"~[~[], ~[1], ~[1, 1]]";
107108
}
108109

110+
#[test]
109111
fn test_pointer_types() {
110112
assert (@1).to_str() == "@1";
111113
assert (~(true, false)).to_str() == "~(true, false)";

0 commit comments

Comments
 (0)