Skip to content

Commit fcf5e6b

Browse files
committed
specify target-version for wasm test
1 parent 0a7de66 commit fcf5e6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ruff_wasm/tests/api.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ fn syntax_error() {
6565
fn unsupported_syntax_error() {
6666
check!(
6767
"match 2:\n case 1: ...",
68-
r#"{"preview": true}"#,
68+
r#"{"preview": true, "target-version": "py39"}"#,
6969
[ExpandedMessage {
7070
code: None,
7171
message: "SyntaxError: Cannot use `match` statement on Python 3.9 (syntax was added in Python 3.10)".to_string(),

0 commit comments

Comments
 (0)