()
| 848 | |
| 849 | #[test] |
| 850 | fn test_compact_ident_with_escapes() { |
| 851 | let c = Cursor::new(SourceOffset(0), Token::new_ident(false, false, true, 0, 5)); |
| 852 | let sc = SourceCursor::from(c, r"\66oo"); |
| 853 | assert_eq!(format!("{}", sc), r"\66oo"); |
| 854 | assert_eq!(format!("{}", sc.compact()), "foo"); |
| 855 | } |
| 856 | |
| 857 | #[test] |
| 858 | fn test_compact_function_with_escapes() { |
nothing calls this directly
no test coverage detected