From caac16371acdefe10f1b31fb53e7eee16858a156 Mon Sep 17 00:00:00 2001 From: tiberium Date: Wed, 16 Jul 2025 23:14:33 +0200 Subject: [PATCH] fix: Fix assertion in JMESPath test after bumping typer --- tests/toml_cli/test_init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/toml_cli/test_init.py b/tests/toml_cli/test_init.py index a6a3146..fcd9db4 100644 --- a/tests/toml_cli/test_init.py +++ b/tests/toml_cli/test_init.py @@ -143,7 +143,7 @@ def test_search(tmp_path: pathlib.Path): result = runner.invoke(app, ["search", "--toml-path", str(test_toml_path), "wrong-expression"]) assert result.exit_code == 1 - assert "error: invalid jmespath expression" in result.stdout + assert "error: invalid jmespath expression" in result.stderr def test_set_value(tmp_path: pathlib.Path):