diff --git a/crates/ruff/tests/lint.rs b/crates/ruff/tests/lint.rs index 41cae9080e..8b795520ce 100644 --- a/crates/ruff/tests/lint.rs +++ b/crates/ruff/tests/lint.rs @@ -5723,6 +5723,7 @@ match 42: # invalid-syntax filters => vec![ (tempdir_filter(&tempdir).as_str(), "[TMP]/"), (r#""[^"]+\\?/?input.py"#, r#""[TMP]/input.py"#), + (ruff_linter::VERSION, "[VERSION]"), ] }, { assert_cmd_snapshot!( diff --git a/crates/ruff/tests/snapshots/lint__output_format_sarif.snap b/crates/ruff/tests/snapshots/lint__output_format_sarif.snap index 41c86c7a61..664f8f0d8a 100644 --- a/crates/ruff/tests/snapshots/lint__output_format_sarif.snap +++ b/crates/ruff/tests/snapshots/lint__output_format_sarif.snap @@ -132,7 +132,7 @@ exit_code: 1 } } ], - "version": "0.12.2" + "version": "[VERSION]" } } }