1
Fork 0

librustdoc: Fix a bunch of rustdoc tests. rs=bustage

This commit is contained in:
Patrick Walton 2012-12-29 17:38:20 -08:00
parent 5245aceba9
commit 47cd1e4fc8
19 changed files with 113 additions and 0 deletions

View file

@ -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, ~"");