From e7a3bbd76c77fa7a878ecd86dcb5c772164cbb51 Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Tue, 30 Apr 2013 23:30:04 -0700 Subject: [PATCH] rustdoc: Remove a now invalid test --- src/librustdoc/tystr_pass.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/librustdoc/tystr_pass.rs b/src/librustdoc/tystr_pass.rs index a6fbee81bc8..def32bdfd44 100644 --- a/src/librustdoc/tystr_pass.rs +++ b/src/librustdoc/tystr_pass.rs @@ -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 -- 2.44.0