diff options
| author | Seo Sanghyeon <sanxiyn@gmail.com> | 2014-02-07 00:28:50 +0900 |
|---|---|---|
| committer | Seo Sanghyeon <sanxiyn@gmail.com> | 2014-02-07 00:28:50 +0900 |
| commit | 5719ff73bfe2f9ed769ad3f454407aac6a727444 (patch) | |
| tree | 062b0ee88f3a3c277493788c233bcd25c914f72f /src/libsyntax/ext | |
| parent | b653fa0c4a990a7af7413f21a79568a30b597667 (diff) | |
| download | rust-5719ff73bfe2f9ed769ad3f454407aac6a727444.tar.gz rust-5719ff73bfe2f9ed769ad3f454407aac6a727444.zip | |
Fix expansion tests
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/expand.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libsyntax/ext/expand.rs b/src/libsyntax/ext/expand.rs index 9037446a9c3..76aa0e981bd 100644 --- a/src/libsyntax/ext/expand.rs +++ b/src/libsyntax/ext/expand.rs @@ -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 @@ -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 @@ -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 (){ @@ -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 { |
