mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 00:14:41 +01:00
fix test_bash_completer for the date command (#5258)
see https://github.com/xonsh/xonsh/issues/5257 Co-authored-by: Ajrat Makhmutov <rauty@altlinux.org>
This commit is contained in:
parent
e3a6dcf255
commit
66f0ba39f2
1 changed files with 5 additions and 5 deletions
|
@ -193,12 +193,12 @@ def test_bash_completer_empty_prefix():
|
|||
3,
|
||||
False,
|
||||
),
|
||||
# date --da -> date --date=
|
||||
# date --u -> date --utc
|
||||
(
|
||||
CommandContext(args=(CommandArg("date"),), arg_index=1, prefix="--da"),
|
||||
{"--date="},
|
||||
4,
|
||||
False,
|
||||
CommandContext(args=(CommandArg("date"),), arg_index=1, prefix="--u"),
|
||||
{"--utc"},
|
||||
3,
|
||||
True,
|
||||
),
|
||||
# dd status=pr -> dd status=progress
|
||||
(
|
||||
|
|
Loading…
Add table
Reference in a new issue