()
| 1013 | |
| 1014 | #[test] |
| 1015 | fn test_remarks() { |
| 1016 | do_ok_test( |
| 1017 | "REM This is a comment\nNOT 'This is another comment\n", |
| 1018 | &[ |
| 1019 | ts(Token::Eol, 1, 22, 1), |
| 1020 | ts(Token::Not, 2, 1, 3), |
| 1021 | ts(Token::Eol, 2, 29, 1), |
| 1022 | ts(Token::Eof, 3, 1, 0), |
| 1023 | ], |
| 1024 | ); |
| 1025 | |
| 1026 | do_ok_test( |
| 1027 | "REM This is a comment: and the colon doesn't yield Eol\nNOT 'Another: comment\n", |
| 1028 | &[ |
| 1029 | ts(Token::Eol, 1, 55, 1), |
| 1030 | ts(Token::Not, 2, 1, 3), |
| 1031 | ts(Token::Eol, 2, 22, 1), |
| 1032 | ts(Token::Eof, 3, 1, 0), |
| 1033 | ], |
| 1034 | ); |
| 1035 | } |
| 1036 | |
| 1037 | #[test] |
| 1038 | fn test_shebang() { |
nothing calls this directly
no test coverage detected