()
| 5 | |
| 6 | #[test] |
| 7 | fn test_modes() { |
| 8 | let source = "a[0][1][2][3][4]"; |
| 9 | |
| 10 | assert!(parse(source, ParseOptions::from(Mode::Expression)).is_ok()); |
| 11 | assert!(parse(source, ParseOptions::from(Mode::Module)).is_ok()); |
| 12 | } |
| 13 | |
| 14 | #[test] |
| 15 | fn test_expr_mode_invalid_syntax1() { |
nothing calls this directly
no outgoing calls
no test coverage detected