]> git.lizzy.rs Git - rust.git/commitdiff
Add test attributes to test functions missing test attributes.
authorRyan Scheel <ryan.havvy@gmail.com>
Sun, 8 Jul 2012 07:39:20 +0000 (00:39 -0700)
committerBrian Anderson <banderson@mozilla.com>
Sun, 8 Jul 2012 07:42:23 +0000 (00:42 -0700)
src/libcore/to_str.rs

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