()
| 869 | |
| 870 | #[test] |
| 871 | fn test_some_tokens() { |
| 872 | do_ok_test( |
| 873 | "123 45 \n 6 3.012 abc a38z: a=3 with_underscores_1=_2", |
| 874 | &[ |
| 875 | ts(Token::Integer(123), 1, 1, 3), |
| 876 | ts(Token::Integer(45), 1, 5, 2), |
| 877 | ts(Token::Eol, 1, 8, 1), |
| 878 | ts(Token::Integer(6), 2, 2, 1), |
| 879 | ts(Token::Double(3.012), 2, 4, 5), |
| 880 | ts(new_auto_symbol("abc"), 2, 10, 3), |
| 881 | ts(new_auto_symbol("a38z"), 2, 14, 4), |
| 882 | ts(Token::Eol, 2, 18, 1), |
| 883 | ts(new_auto_symbol("a"), 2, 20, 1), |
| 884 | ts(Token::Equal, 2, 21, 1), |
| 885 | ts(Token::Integer(3), 2, 22, 1), |
| 886 | ts(new_auto_symbol("with_underscores_1"), 2, 24, 18), |
| 887 | ts(Token::Equal, 2, 42, 1), |
| 888 | ts(new_auto_symbol("_2"), 2, 43, 2), |
| 889 | ts(Token::Eof, 2, 45, 0), |
| 890 | ], |
| 891 | ); |
| 892 | } |
| 893 | |
| 894 | #[test] |
| 895 | fn test_boolean_literals() { |
nothing calls this directly
no test coverage detected