Skip to content

Commit

Permalink
Fix wrong robotidy package name in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
bhirsz committed Dec 3, 2023
1 parent 56d6320 commit 1437377
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion robotidy/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class MissingOptionalTomliWDependencyError(RobotidyConfigError):
def __init__(self):
super().__init__(
f"Missing optional dependency: tomli_w. Install robotidy with extra `generate_config` "
f"profile:\n\npip install robotidy[generate_config]"
f"profile:\n\npip install robotframework-tidy[generate_config]"
)


Expand Down
2 changes: 1 addition & 1 deletion tests/utest/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,6 @@ def test_missing_dependency(self, monkeypatch, temporary_cwd):
result = run_tidy(["--generate-config"], exit_code=1)
expected_output = (
"Error: Missing optional dependency: tomli_w. Install robotidy with extra `generate_config` "
"profile:\n\npip install robotidy[generate_config]\n"
"profile:\n\npip install robotframework-tidy[generate_config]\n"
)
assert result.output == expected_output

0 comments on commit 1437377

Please sign in to comment.