()
| 856 | |
| 857 | #[test] |
| 858 | fn test_compact_function_with_escapes() { |
| 859 | let c = Cursor::new(SourceOffset(0), Token::new_ident(false, false, true, 0, 6)); |
| 860 | let sc = SourceCursor::from(c, r"\72gb("); |
| 861 | assert_eq!(format!("{}", sc), r"\72gb("); |
| 862 | assert_eq!(format!("{}", sc.compact()), "rgb("); |
| 863 | } |
| 864 | |
| 865 | #[test] |
| 866 | fn test_compact_number() { |
nothing calls this directly
no test coverage detected