macro method unit test case fix

This commit is contained in:
John Clements 2014-07-11 21:17:17 -07:00
parent c654fd1f49
commit b293a6604b

View file

@ -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());