Skip to content

Commit 5719ff7

Browse files
committed
Fix expansion tests
1 parent b653fa0 commit 5719ff7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/libsyntax/ext/expand.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,7 @@ mod test {
10321032
~[],sess);
10331033
// should fail:
10341034
let mut loader = ErrLoader;
1035-
expand_crate(sess,&mut loader,~[],crate_ast);
1035+
expand_crate(sess,&mut loader,crate_ast);
10361036
}
10371037
10381038
// make sure that macros can leave scope for modules
@@ -1047,7 +1047,7 @@ mod test {
10471047
~[],sess);
10481048
// should fail:
10491049
let mut loader = ErrLoader;
1050-
expand_crate(sess,&mut loader,~[],crate_ast);
1050+
expand_crate(sess,&mut loader,crate_ast);
10511051
}
10521052
10531053
// macro_escape modules shouldn't cause macros to leave scope
@@ -1061,7 +1061,7 @@ mod test {
10611061
~[], sess);
10621062
// should fail:
10631063
let mut loader = ErrLoader;
1064-
expand_crate(sess, &mut loader, ~[], crate_ast);
1064+
expand_crate(sess, &mut loader, crate_ast);
10651065
}
10661066
10671067
#[test] fn test_contains_flatten (){
@@ -1134,7 +1134,7 @@ mod test {
11341134
let (crate_ast,ps) = string_to_crate_and_sess(crate_str);
11351135
// the cfg argument actually does matter, here...
11361136
let mut loader = ErrLoader;
1137-
expand_crate(ps,&mut loader,~[],crate_ast)
1137+
expand_crate(ps,&mut loader,crate_ast)
11381138
}
11391139

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

0 commit comments

Comments
 (0)