()
| 2407 | |
| 2408 | #[test] |
| 2409 | fn test_builtin_calls_errors() { |
| 2410 | do_error_test("FOO 3 5\n", "1:7: Unexpected value in expression"); |
| 2411 | do_error_test("INPUT$ a\n", "1:1: Type annotation not allowed in INPUT$"); |
| 2412 | do_error_test("PRINT IF 1\n", "1:7: Unexpected keyword in expression"); |
| 2413 | do_error_test("PRINT 3, IF 1\n", "1:10: Unexpected keyword in expression"); |
| 2414 | do_error_test("PRINT 3 THEN\n", "1:9: Expected comma, semicolon, or end of statement"); |
| 2415 | do_error_test("PRINT ()\n", "1:7: Expected expression"); |
| 2416 | do_error_test("PRINT (2, 3)\n", "1:7: Expected expression"); |
| 2417 | do_error_test("PRINT (2, 3); 4\n", "1:7: Expected expression"); |
| 2418 | } |
| 2419 | |
| 2420 | #[test] |
| 2421 | fn test_data() { |
nothing calls this directly
no test coverage detected