diff options
Diffstat (limited to 'src/rustdoc/markdown_index_pass.rs')
| -rw-r--r-- | src/rustdoc/markdown_index_pass.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rustdoc/markdown_index_pass.rs b/src/rustdoc/markdown_index_pass.rs index 25691cb79d9..83098ecd045 100644 --- a/src/rustdoc/markdown_index_pass.rs +++ b/src/rustdoc/markdown_index_pass.rs @@ -179,10 +179,10 @@ fn should_index_mod_contents_multi_page() { fn should_index_foreign_mod_pages() { let doc = test::mk_doc( config::doc_per_mod, - "native mod a { }" + "extern mod a { }" ); assert option::get(doc.cratemod().index).entries[0] == { - kind: "Native module", + kind: "Foreign module", name: "a", brief: none, link: "a.html" @@ -202,7 +202,7 @@ fn should_add_brief_desc_to_index() { fn should_index_foreign_mod_contents() { let doc = test::mk_doc( config::doc_per_crate, - "native mod a { fn b(); }" + "extern mod a { fn b(); }" ); assert option::get(doc.cratemod().nmods()[0].index).entries[0] == { kind: "Function", |
