We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a7de66 commit fcf5e6bCopy full SHA for fcf5e6b
crates/ruff_wasm/tests/api.rs
@@ -65,7 +65,7 @@ fn syntax_error() {
65
fn unsupported_syntax_error() {
66
check!(
67
"match 2:\n case 1: ...",
68
- r#"{"preview": true}"#,
+ r#"{"preview": true, "target-version": "py39"}"#,
69
[ExpandedMessage {
70
code: None,
71
message: "SyntaxError: Cannot use `match` statement on Python 3.9 (syntax was added in Python 3.10)".to_string(),
0 commit comments