()
| 851 | |
| 852 | #[test] |
| 853 | fn test_tabs() { |
| 854 | do_ok_test("\t33", &[ts(Token::Integer(33), 1, 9, 2), ts(Token::Eof, 1, 11, 0)]); |
| 855 | do_ok_test( |
| 856 | "1234567\t8", |
| 857 | &[ |
| 858 | ts(Token::Integer(1234567), 1, 1, 7), |
| 859 | ts(Token::Integer(8), 1, 9, 1), |
| 860 | ts(Token::Eof, 1, 10, 0), |
| 861 | ], |
| 862 | ); |
| 863 | } |
| 864 | |
| 865 | /// Syntactic sugar to instantiate a `VarRef` without an explicit type annotation. |
| 866 | fn new_auto_symbol(name: &str) -> Token { |
nothing calls this directly
no test coverage detected