Lines Matching refs:get_suffix
227 fn get_suffix(token: &str) -> String { in suffix() function
240 assert_eq!(get_suffix("\"\"s"), "s"); in suffix()
241 assert_eq!(get_suffix("r\"\"r"), "r"); in suffix()
242 assert_eq!(get_suffix("b\"\"b"), "b"); in suffix()
243 assert_eq!(get_suffix("br\"\"br"), "br"); in suffix()
244 assert_eq!(get_suffix("r#\"\"#r"), "r"); in suffix()
245 assert_eq!(get_suffix("'c'c"), "c"); in suffix()
246 assert_eq!(get_suffix("b'b'b"), "b"); in suffix()
247 assert_eq!(get_suffix("1i32"), "i32"); in suffix()
248 assert_eq!(get_suffix("1_i32"), "i32"); in suffix()
249 assert_eq!(get_suffix("1.0f32"), "f32"); in suffix()
250 assert_eq!(get_suffix("1.0_f32"), "f32"); in suffix()