Switch 'native' to 'extern' (or 'foreign' in some descriptions)
This commit is contained in:
parent
7259195caf
commit
debb7e4641
127 changed files with 249 additions and 249 deletions
|
@ -291,13 +291,13 @@ mod test {
|
|||
|
||||
#[test]
|
||||
fn extract_foreign_mods() {
|
||||
let doc = mk_doc("native mod a { }");
|
||||
let doc = mk_doc("extern mod a { }");
|
||||
assert doc.cratemod().nmods()[0].name() == "a";
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn extract_fns_from_foreign_mods() {
|
||||
let doc = mk_doc("native mod a { fn a(); }");
|
||||
let doc = mk_doc("extern mod a { fn a(); }");
|
||||
assert doc.cratemod().nmods()[0].fns[0].name() == "a";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue