• Home
  • Raw
  • Download

Lines Matching refs:to_string

40     assert_eq!(expected, tokens.to_string());  in test_quote_impl()
62 assert_eq!(expected, tokens.to_string()); in test_quote_spanned_impl()
72 assert_eq!(expected, tokens.to_string()); in test_substitution()
79 assert_eq!("X X X X", quote!(#(#primes)*).to_string()); in test_iter()
81 assert_eq!("X , X , X , X ,", quote!(#(#primes,)*).to_string()); in test_iter()
83 assert_eq!("X , X , X , X", quote!(#(#primes),*).to_string()); in test_iter()
159 assert_eq!(expected, tokens.to_string()); in test_advanced()
184 assert_eq!(expected, tokens.to_string()); in test_integer()
198 assert_eq!(expected, tokens.to_string()); in test_floating()
214 assert_eq!(expected, tokens.to_string()); in test_char()
222 assert_eq!(expected, tokens.to_string()); in test_str()
227 let s = "\u{1} a 'b \" c".to_string(); in test_string()
230 assert_eq!(expected, tokens.to_string()); in test_string()
243 assert_eq!(expected, tokens.to_string()); in test_interpolated_literal()
247 assert_eq!(expected, tokens.to_string()); in test_interpolated_literal()
251 assert_eq!(expected, tokens.to_string()); in test_interpolated_literal()
255 assert_eq!(expected, tokens.to_string()); in test_interpolated_literal()
264 assert_eq!(expected, tokens.to_string()); in test_ident()
271 assert_eq!(expected, tokens.to_string()); in test_underscore()
281 assert_eq!(expected, tokens.to_string()); in test_duplicate()
294 assert_eq!(expected, tokens.to_string()); in test_fancy_repetition()
308 assert_eq!(expected, tokens.to_string()); in test_nested_fancy_repetition()
321 assert_eq!(expected, tokens.to_string()); in test_duplicate_name_repetition()
333 assert_eq!(expected, tokens.to_string()); in test_duplicate_name_repetition_no_copy()
347 assert_eq!(expected, tokens.to_string()); in test_btreeset_repetition()
357 assert_eq!(expected, tokens.to_string()); in test_variable_name_conflict()
370 assert_eq!(expected, tokens.to_string()); in test_nonrep_in_repetition()
376 assert_eq!("", tokens.to_string()); in test_empty_quote()
383 assert_eq!("\"str\"", tokens.to_string()); in test_box_str()
394 assert_eq!("owned borrowed", tokens.to_string()); in test_cow()
408 assert_eq!("__field0 __field1 __field2", tokens.to_string()); in test_closure()
416 assert_eq!("a b", a.to_string()); in test_append_tokens()
453 assert_eq!(expected, tokens.to_string()); in test_outer_line_comment()
462 assert_eq!(expected, tokens.to_string()); in test_inner_line_comment()
471 assert_eq!(expected, tokens.to_string()); in test_outer_block_comment()
480 assert_eq!(expected, tokens.to_string()); in test_inner_block_comment()
489 assert_eq!(expected, tokens.to_string()); in test_outer_attr()
498 assert_eq!(expected, tokens.to_string()); in test_inner_attr()
512 assert_eq!(expected, tokens.to_string()); in test_star_after_repetition()
518 assert_eq!(id.to_string(), "r#raw_id"); in test_quote_raw_id()