macro method unit test case fix
This commit is contained in:
parent
c654fd1f49
commit
b293a6604b
1 changed files with 2 additions and 2 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue