Searched refs:check_spans (Results 1 – 1 of 1) sorted by relevance
/external/rust/crates/proc-macro2/tests/ |
D | test.rs | 331 check_spans( in span_test() 594 check_spans("// abc", &[]); in non_ascii_tokens() 595 check_spans("// ábc", &[]); in non_ascii_tokens() 596 check_spans("// abc x", &[]); in non_ascii_tokens() 597 check_spans("// ábc x", &[]); in non_ascii_tokens() 598 check_spans("/* abc */ x", &[(1, 10, 1, 11)]); in non_ascii_tokens() 599 check_spans("/* ábc */ x", &[(1, 10, 1, 11)]); in non_ascii_tokens() 600 check_spans("/* ab\nc */ x", &[(2, 5, 2, 6)]); in non_ascii_tokens() 601 check_spans("/* áb\nc */ x", &[(2, 5, 2, 6)]); in non_ascii_tokens() 602 check_spans("/*** abc */ x", &[(1, 12, 1, 13)]); in non_ascii_tokens() [all …]
|