librustdoc: Fix a bunch of rustdoc tests. rs=bustage
This commit is contained in:
parent
5245aceba9
commit
47cd1e4fc8
19 changed files with 113 additions and 0 deletions
|
@ -36,6 +36,12 @@ fn should_trim_text() {
|
|||
#[cfg(test)]
|
||||
mod test {
|
||||
#[legacy_exports];
|
||||
|
||||
use astrsrv;
|
||||
use attr_pass;
|
||||
use doc;
|
||||
use extract;
|
||||
|
||||
fn mk_doc(source: ~str) -> doc::Doc {
|
||||
do astsrv::from_str(source) |srv| {
|
||||
let doc = extract::from_srv(srv, ~"");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue