Rename test variables

This commit is contained in:
IAvecilla 2026-04-21 16:00:34 -03:00
parent aa61831a14
commit 54c2261214
No known key found for this signature in database
2 changed files with 8 additions and 7 deletions

View File

@ -119,15 +119,16 @@ def test_final_assistant_content_can_leave_markdown_raw():
def test_strip_mode_preserves_intraword_underscores_in_snake_case_identifiers():
renderable = _render_final_assistant_content(
"Let me look at recover_with_credential_pool and MY_CONST "
"then /home/user/path_with_stuff/file.py",
"Let me look at test_case_with_underscores and SOME_CONST "
"then /tmp/snake_case_dir/file_with_name.py",
mode="strip",
)
output = _render_to_text(renderable)
assert "recover_with_credential_pool" in output
assert "MY_CONST" in output
assert "path_with_stuff" in output
assert "test_case_with_underscores" in output
assert "SOME_CONST" in output
assert "snake_case_dir" in output
assert "file_with_name" in output
def test_strip_mode_still_strips_boundary_underscore_emphasis():

View File

@ -100,8 +100,8 @@ describe('estimateRows', () => {
it('keeps intraword underscores when sizing snake_case identifiers', () => {
const w = 80
const snake = 'look at recover_with_credential_pool now'
const plain = 'look at recover with credential pool now'
const snake = 'look at test_case_with_underscores now'
const plain = 'look at test case with underscores now'
expect(estimateRows(snake, w)).toBe(estimateRows(plain, w))
})