diff options
Diffstat (limited to 'src/librustdoc/extract.rs')
| -rw-r--r-- | src/librustdoc/extract.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/extract.rs b/src/librustdoc/extract.rs index 5e5c843da26..942dd3e01cb 100644 --- a/src/librustdoc/extract.rs +++ b/src/librustdoc/extract.rs @@ -184,7 +184,7 @@ fn constdoc_from_const(itemdoc: doc::ItemDoc) -> doc::ConstDoc { #[test] fn should_extract_const_name_and_id() { - let doc = test::mk_doc(~"const a: int = 0;"); + let doc = test::mk_doc(~"static a: int = 0;"); fail_unless!(doc.cratemod().consts()[0].id() != 0); fail_unless!(doc.cratemod().consts()[0].name() == ~"a"); } |
