Make the goto_through_format test actually fail :(

This commit is contained in:
Florian Diebold 2019-12-06 21:24:41 +01:00
parent 4a99ef5c39
commit c80dc0ad3a

View file

@ -689,11 +689,13 @@ mod tests {
fo<|>o();
}
}
mod confuse_index { fn foo(); }
",
"foo FN_DEF FileId(1) [52; 63) [55; 58)",
);
}
#[should_panic] // currently failing because of expr mapping problems
#[test]
fn goto_through_format() {
check_goto(
@ -711,6 +713,7 @@ mod tests {
}
pub mod __export {
pub use crate::format_args;
fn foo() {} // for index confusion
}
fn foo() -> i8 {}
fn test() {