()
| 2948 | |
| 2949 | #[test] |
| 2950 | fn test_exit_errors() { |
| 2951 | do_error_test("EXIT", "1:5: Expecting DO, FOR, FUNCTION or SUB after EXIT"); |
| 2952 | do_error_test("EXIT 5", "1:6: Expecting DO, FOR, FUNCTION or SUB after EXIT"); |
| 2953 | } |
| 2954 | |
| 2955 | /// Wrapper around `do_ok_test` to parse an expression. Given that expressions alone are not |
| 2956 | /// valid statements, we have to put them in a statement to parse them. In doing so, we can |
nothing calls this directly
no test coverage detected