]> git.lizzy.rs Git - rust.git/commitdiff
rustdoc: Remove a now invalid test
authorErick Tryzelaar <erick.tryzelaar@gmail.com>
Wed, 1 May 2013 06:30:04 +0000 (23:30 -0700)
committerErick Tryzelaar <erick.tryzelaar@gmail.com>
Wed, 1 May 2013 14:49:58 +0000 (07:49 -0700)
src/librustdoc/tystr_pass.rs

index a6fbee81bc8af48852e0643fe2bf27b8096c33c3..def32bdfd44d6c535027b04f7bd704954ac40b1e 100644 (file)
@@ -434,13 +434,6 @@ fn should_add_struct_defs() {
             "struct S {"));
     }
 
-    #[test]
-    fn should_not_serialize_struct_drop_blocks() {
-        // All we care about are the fields
-        let doc = mk_doc(~"struct S { field: (), drop { } }");
-        assert!(!(&doc.cratemod().structs()[0].sig).get().contains("drop"));
-    }
-
     #[test]
     fn should_not_serialize_struct_attrs() {
         // All we care about are the fields