Skip to content

Commit f0e28d9

Browse files
committed
chore(typos): false positive workarounds
1 parent 4cc6315 commit f0e28d9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.typos.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
BRE = "BRE"
44

55
[default.extend-words]
6+
# completions/abook
7+
informat = "informat"
68
# completions/ri
79
ane = "ane"
810
# completions/reportbug

test/t/test_time.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55

66
class TestTime:
7-
@pytest.mark.complete("time _comp_delimite", cwd="shared/empty_dir")
7+
@pytest.mark.complete("time _comp_delimit", cwd="shared/empty_dir")
88
def test_command(self, completion):
99
"""
1010
Test completion of commands.
1111
1212
We use a function of ours as the test subject, as that's guaranteed
1313
to be available, and do not rely on anything in particular in $PATH.
1414
"""
15-
assert completion == "d" or "_comp_delimited" in completion
15+
assert completion == "ed" or "_comp_delimited" in completion
1616

1717
@pytest.mark.complete("time -p find -typ")
1818
def test_2(self, completion):

0 commit comments

Comments
 (0)