Skip to content

Commit

Permalink
Fix expansion tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sanxiyn committed Feb 6, 2014
1 parent b653fa0 commit 5719ff7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/libsyntax/ext/expand.rs
Expand Up @@ -1032,7 +1032,7 @@ mod test {
~[],sess);
// should fail:
let mut loader = ErrLoader;
expand_crate(sess,&mut loader,~[],crate_ast);
expand_crate(sess,&mut loader,crate_ast);
}
// make sure that macros can leave scope for modules
Expand All @@ -1047,7 +1047,7 @@ mod test {
~[],sess);
// should fail:
let mut loader = ErrLoader;
expand_crate(sess,&mut loader,~[],crate_ast);
expand_crate(sess,&mut loader,crate_ast);
}
// macro_escape modules shouldn't cause macros to leave scope
Expand All @@ -1061,7 +1061,7 @@ mod test {
~[], sess);
// should fail:
let mut loader = ErrLoader;
expand_crate(sess, &mut loader, ~[], crate_ast);
expand_crate(sess, &mut loader, crate_ast);
}
#[test] fn test_contains_flatten (){
Expand Down Expand Up @@ -1134,7 +1134,7 @@ mod test {
let (crate_ast,ps) = string_to_crate_and_sess(crate_str);
// the cfg argument actually does matter, here...
let mut loader = ErrLoader;
expand_crate(ps,&mut loader,~[],crate_ast)
expand_crate(ps,&mut loader,crate_ast)
}

//fn expand_and_resolve(crate_str: @str) -> ast::crate {
Expand Down

5 comments on commit 5719ff7

@bors
Copy link
Contributor

@bors bors commented on 5719ff7 Feb 6, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at sanxiyn@5719ff7

@bors
Copy link
Contributor

@bors bors commented on 5719ff7 Feb 6, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging sanxiyn/rust/crate-config = 5719ff7 into auto

@bors
Copy link
Contributor

@bors bors commented on 5719ff7 Feb 6, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sanxiyn/rust/crate-config = 5719ff7 merged ok, testing candidate = f039d10

@bors
Copy link
Contributor

@bors bors commented on 5719ff7 Feb 6, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 5719ff7 Feb 6, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = f039d10

Please sign in to comment.