Skip to content

Commit f489772

Browse files
committed
test(cli): match the engine choice error across Python versions
1 parent 7e8a7ca commit f489772

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/unit/src/sqlbuild/cli/commands/_helpers/entry/test_compiler_engine_option.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def test_given_engine_selection_when_parsing_then_flag_value_is_recorded(
6666
argv=("compile", "--compiler-engine", "rust"),
6767
environment_value="",
6868
expected_exit_code=2,
69-
expected_error="invalid choice: 'rust' (choose from 'python', 'native')",
69+
expected_error="argument --compiler-engine: invalid choice: 'rust'",
7070
),
7171
RejectedCompilerEngineTestCase(
7272
description="unknown_environment_value",

0 commit comments

Comments
 (0)