Skip to content

Commit a160ca6

Browse files
committed
try make help checks more strict
1 parent 787bd54 commit a160ca6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tests/apps/test_app/helps/multiply.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
╭─ Arguments ──────────────────────────────────────────────────────────────────╮
77
│ * number1 FLOAT The first number. [required] │
88
│ * number2 FLOAT The second number. [required] │
9-
│ * numbers NUMBERS... The list of numbers to multiple: │
9+
│ * numbers NUMBERS... The list of numbers to multiply: │
1010
│ n1*n2*n3*...*nN. │
1111
│ [required] │
1212
╰──────────────────────────────────────────────────────────────────────────────╯

tests/apps/test_app2/helps/multiply.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
╭─ Arguments ──────────────────────────────────────────────────────────────────╮
77
│ * number1 FLOAT The first number. [required] │
88
│ * number2 FLOAT The second number. [required] │
9-
│ * numbers NUMBERS... The list of numbers to multiple: │
9+
│ * numbers NUMBERS... The list of numbers to multiply: │
1010
│ n1*n2*n3*...*nN. │
1111
│ [required] │
1212
╰──────────────────────────────────────────────────────────────────────────────╯

tests/test_groups.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def test_get_help_from_incongruent_path(self):
7373
TESTS_DIR / "apps" / "test_app" / "helps" / "groups.txt"
7474
).read_text(),
7575
),
76-
0.96, # width inconsistences drive this number < 1
76+
0.99, # width inconsistences drive this number < 1
7777
)
7878
return
7979
finally:
@@ -127,7 +127,7 @@ def test_helps(self, app="test_app"):
127127
TESTS_DIR / "apps" / app / helps_dir / f"{cmds[-1]}.txt"
128128
).read_text(),
129129
),
130-
0.96, # width inconsistences drive this number < 1
130+
0.99, # width inconsistences drive this number < 1
131131
)
132132
except AssertionError:
133133
raise

0 commit comments

Comments
 (0)