test: align test names with current assertions (#6130)
* test: align test names with current assertions * test: align suite names and explicit configuration cases
This commit is contained in:
1 parent
50256940be
commit
f04ed1c2eb
13 files changed
+24
-25
No files matched your search
@@ -262,7 +262,7 @@ class TestToolHintMixedFolding:
|
||||
class TestToolHintMaxLength:
|
||||
"""Test max_length parameter controls truncation of tool hints."""
|
||||
|
||||
def test_exec_default_truncates_at_40(self):
|
||||
def test_exec_explicit_max_length_limits_hint(self):
|
||||
cmd = "cd /very/long/path/to/some/project && npm run build && npm test"
|
||||
result = _hint([_tc("exec", {"command": cmd})], max_length=40)
|
||||
assert len(result) <= 50 # "$ " prefix + 40 + ellipsis
|
||||
|
||||
Reference in new issue
Block a user