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