Searched refs:check_spans (Results 1 – 1 of 1) sorted by relevance
/external/rust/crates/proc-macro2/tests/ |
D | test.rs | 230 check_spans( in span_test() 486 check_spans("// abc", &[]); in non_ascii_tokens() 487 check_spans("// ábc", &[]); in non_ascii_tokens() 488 check_spans("// abc x", &[]); in non_ascii_tokens() 489 check_spans("// ábc x", &[]); in non_ascii_tokens() 490 check_spans("/* abc */ x", &[(1, 10, 1, 11)]); in non_ascii_tokens() 491 check_spans("/* ábc */ x", &[(1, 10, 1, 11)]); in non_ascii_tokens() 492 check_spans("/* ab\nc */ x", &[(2, 5, 2, 6)]); in non_ascii_tokens() 493 check_spans("/* áb\nc */ x", &[(2, 5, 2, 6)]); in non_ascii_tokens() 494 check_spans("/*** abc */ x", &[(1, 12, 1, 13)]); in non_ascii_tokens() [all …]
|