()
| 893 | |
| 894 | #[test] |
| 895 | fn test_boolean_literals() { |
| 896 | do_ok_test( |
| 897 | "true TRUE yes YES y false FALSE no NO n", |
| 898 | &[ |
| 899 | ts(Token::Boolean(true), 1, 1, 4), |
| 900 | ts(Token::Boolean(true), 1, 6, 4), |
| 901 | ts(new_auto_symbol("yes"), 1, 11, 3), |
| 902 | ts(new_auto_symbol("YES"), 1, 15, 3), |
| 903 | ts(new_auto_symbol("y"), 1, 19, 1), |
| 904 | ts(Token::Boolean(false), 1, 21, 5), |
| 905 | ts(Token::Boolean(false), 1, 27, 5), |
| 906 | ts(new_auto_symbol("no"), 1, 33, 2), |
| 907 | ts(new_auto_symbol("NO"), 1, 36, 2), |
| 908 | ts(new_auto_symbol("n"), 1, 39, 1), |
| 909 | ts(Token::Eof, 1, 40, 0), |
| 910 | ], |
| 911 | ); |
| 912 | } |
| 913 | |
| 914 | #[test] |
| 915 | fn test_integer_literals() { |
nothing calls this directly
no test coverage detected