Skip to content

Commit

Permalink
macro method unit test case fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jbclements committed Jul 13, 2014
1 parent c654fd1 commit b293a66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libsyntax/ext/expand.rs
Expand Up @@ -1531,9 +1531,9 @@ mod test {
}

// macro_rules in method position. Sadly, unimplemented.
#[ignore] #[test] fn macro_in_method_posn(){
#[test] fn macro_in_method_posn(){
expand_crate_str(
"macro_rules! my_method (() => fn thirteen(&self) -> int {13})
"macro_rules! my_method (() => (fn thirteen(&self) -> int {13}))
struct A;
impl A{ my_method!()}
fn f(){A.thirteen;}".to_string());
Expand Down

0 comments on commit b293a66

Please sign in to comment.