main: {"args": ["--input-type=python", "--include-file=include.$shell"], "definition_file": "crazy-complete-test"}
when: {"args": ["--input-type=yaml"], "definition_file": "when-test.yaml"}
groups: {"args": ["--input-type=yaml"], "definition_file": "groups-test.yaml"}
combine: {"args": ["--input-type=yaml"], "definition_file": "combine-test.yaml"}
inherit-on: {"args": ["--input-type=yaml", "--inherit-options=True"], "definition_file": "inherit-options.yaml"}
inherit-off: {"args": ["--input-type=yaml", "--inherit-options=False"], "definition_file": "inherit-options.yaml"}
capture: {"args": ["--input-type=yaml", "--include-file=include.capture.$shell"], "definition_file": "capture.yaml"}
choices: {"args": ["--input-type=yaml"], "definition_file": "choices.yaml"}
command_arg: {"args": ["--input-type=yaml"], "definition_file": "command_arg.yaml"}
filedir: {"args": ["--input-type=yaml"], "definition_file": "filedir.yaml"}
wrapper: {"args": ["--input-type=yaml"], "definition_file": "wrapper.yaml"}
list: {"args": ["--input-type=yaml"], "definition_file": "list.yaml"}
key_value_list: {"args": ["--input-type=yaml"], "definition_file": "key_value_list.yaml"}
complex: {"args": ["--input-type=yaml"], "definition_file": "complex.yaml"}
long_opt_arg_sep: {"args": ["--input-type=yaml"], "definition_file": "long_opt_arg_sep.yaml"}
---
number: 1
definition_file: "main"
description: "No arguments, check if all commands are listed"
send: "crazy-complete-test "
bash_expected: |
  > crazy-complete-test
  alias1            argparse-actions  subcommand        when
  alias2            complete          test
  > crazy-complete-test
fish_expected: |
  > crazy-complete-test
  alias1        (For testing the completer)  subcommand  (Test nested subcommands)
  alias2        (For testing the completer)  test      (For testing the completer)
  argparse-actions  (argparse tool actions)  when        (Test the "when"-feature)
  complete         (Test complete commands)
zsh_expected: |
  > crazy-complete-test
  alias2            alias1  test  -- For testing the completer
  argparse-actions                -- argparse tool actions
  complete                        -- Test complete commands
  subcommand                      -- Test nested subcommands
  when                            -- Test the "when"-feature
---
number: 2
definition_file: "main"
description: "Check if subcommand is completed"
send: "crazy-complete-test t"
bash_expected: |
  > crazy-complete-test test
fish_expected: |
  > crazy-complete-test test
zsh_expected: |
  > crazy-complete-test test
---
number: 3
definition_file: "main"
description: "Check if all options are listed"
send: "crazy-complete-test test -"
bash_expected: |
  > crazy-complete-test test -
  --arg=                           --special-chars-in-description=
  --exclusive-1                    -A
  --exclusive-2                    -F
  --flag                           -O
  --help                           -arg=
  --optional=                      -flag
  --repeatable-arg=                -h
  --repeatable-flag                -optional=
  > crazy-complete-test test -
fish_expected: |
  > crazy-complete-test test -
  -A  -arg  --arg                                        (Option with arg)
  -F  -flag  --flag                                        (A option flag)
  -h  --help                             (show this help message and exit)
  -O  -optional  --optional  --optional=        (Option with optional arg)
  --exclusive-1
  --exclusive-2
  --repeatable-arg
  --repeatable-flag
  --special-chars-in-description  (Here are some special chars: $"'\[]*`))
zsh_expected: |
  > crazy-complete-test test -
  --exclusive-1      --exclusive-2      --repeatable-arg   --repeatable-flag
  --arg
  -arg                            -A  -- Option with arg
  --flag
  -flag                           -F  -- A option flag
  --help                          -h  -- show this help message and exit
  --optional
  -optional                       -O  -- Option with optional arg
  --special-chars-in-description      -- Here are some special chars: $"'\[]*`)
---
number: 4
definition_file: "main"
description: "Check long option with argument (with space)"
send: "crazy-complete-test test --arg "
bash_expected: |
  > crazy-complete-test test --arg
  1  2  3
  > crazy-complete-test test --arg
fish_expected: |
  > crazy-complete-test test --arg
  1  (Option with arg)  2  (Option with arg)  3  (Option with arg)
zsh_expected: |
  > crazy-complete-test test --arg
  1  2  3
---
number: 5
definition_file: "main"
description: "Check long option with argument (with equal sign)"
send: "crazy-complete-test test --arg="
bash_expected: |
  > crazy-complete-test test --arg=
  1  2  3
  > crazy-complete-test test --arg=
fish_expected: |
  > crazy-complete-test test --arg=
  --arg=1  (Option with arg)  --arg=3  (Option with arg)
  --arg=2  (Option with arg)
zsh_expected: |
  > crazy-complete-test test --arg=
  1  2  3
---
number: 6
definition_file: "main"
description: "Check short option with argument (without space)"
send: "crazy-complete-test test -A"
bash_expected: |
  > crazy-complete-test test -A
  -A1  -A2  -A3
  > crazy-complete-test test -A
fish_expected: |
  > crazy-complete-test test -A
  -A1  (Option with arg)  -A2  (Option with arg)  -A3  (Option with arg)
zsh_expected: |
  > crazy-complete-test test -A
  1  2  3
---
number: 7
definition_file: "main"
description: "Check short option with argument (with space)"
send: "crazy-complete-test test -A "
bash_expected: |
  > crazy-complete-test test -A
  1  2  3
  > crazy-complete-test test -A
fish_expected: |
  > crazy-complete-test test -A
  1  (Option with arg)  2  (Option with arg)  3  (Option with arg)
zsh_expected: |
  > crazy-complete-test test -A
  1  2  3
---
number: 8
definition_file: "main"
description: "Check old-style option with argument (with space)"
send: "crazy-complete-test test -arg "
bash_expected: |
  > crazy-complete-test test -arg
  1  2  3
  > crazy-complete-test test -arg
fish_expected: |
  > crazy-complete-test test -arg
  1  (Option with arg)  2  (Option with arg)  3  (Option with arg)
zsh_expected: |
  > crazy-complete-test test -arg
  1  2  3
---
number: 9
definition_file: "main"
description: "Check old-style option with argument (with equal sign)"
send: "crazy-complete-test test -arg="
bash_expected: |
  > crazy-complete-test test -arg=
  1  2  3
  > crazy-complete-test test -arg=
fish_expected: |
  > crazy-complete-test test -arg=
  -arg=1  (Option with arg)  -arg=2  (Option with arg)  -arg=3  (Option with arg)
zsh_expected: |
  > crazy-complete-test test -arg=
  1  2  3
---
number: 10
definition_file: "main"
description: "Check long option with optional argument"
send: "crazy-complete-test test --optional="
bash_expected: |
  > crazy-complete-test test --optional=
  1  2  3
  > crazy-complete-test test --optional=
fish_expected: |
  > crazy-complete-test test --optional=
  …optional=1  (Option with optional arg)  …optional=3  (Option with optional arg)
  …optional=2  (Option with optional arg)
zsh_expected: |
  > crazy-complete-test test --optional=
  1  2  3
---
number: 11
definition_file: "main"
description: "Check short option with optional argument"
comment: "FISH has a slightly wrong output"
send: "crazy-complete-test test -O"
bash_expected: |
  > crazy-complete-test test -O
  -O1  -O2  -O3
  > crazy-complete-test test -O
fish_expected: |
  > crazy-complete-test test -O
  -O1  (Option with optional arg)  -OA                  (Option with arg)
  -O2  (Option with optional arg)  -OF                    (A option flag)
  -O3  (Option with optional arg)  -Oh  (show this help message and exit)
zsh_expected: |
  > crazy-complete-test test -O
  1  2  3
---
number: 12
definition_file: "main"
description: "Check old-style option with optional argument"
send: "crazy-complete-test test -optional="
bash_expected: |
  > crazy-complete-test test -optional=
  1  2  3
  > crazy-complete-test test -optional=
fish_expected: |
  > crazy-complete-test test -optional=
  …optional=1  (Option with optional arg)  …optional=3  (Option with optional arg)
  …optional=2  (Option with optional arg)
zsh_expected: |
  > crazy-complete-test test -optional=
  1  2  3
---
number: 13
definition_file: "main"
description: "Check if mutually exclusive options work"
send: "crazy-complete-test test --exclusive-1 --exclusive"
bash_expected: |
  > crazy-complete-test test --exclusive-1 --exclusive
fish_expected: |
  > crazy-complete-test test --exclusive-1 --exclusive
zsh_expected: |
  > crazy-complete-test test --exclusive-1 --exclusive
---
number: 14
definition_file: "main"
description: "Check if repeatable options work"
send: "crazy-complete-test test --repeatable-flag --repeatable-"
bash_expected: |
  > crazy-complete-test test --repeatable-flag --repeatable-
  --repeatable-arg=  --repeatable-flag
  > crazy-complete-test test --repeatable-flag --repeatable-
fish_expected: |
  > crazy-complete-test test --repeatable-flag --repeatable-
  …peatable-arg  …peatable-flag
zsh_expected: |
  > crazy-complete-test test --repeatable-flag --repeatable-
  --repeatable-arg   --repeatable-flag
---
number: 15
definition_file: "main"
description: "Check if final options work"
send: "crazy-complete-test test --help -"
bash_expected: |
  > crazy-complete-test test --help -
fish_expected: |
  > crazy-complete-test test --help -
zsh_expected: |
  > crazy-complete-test test --help -
---
number: 16
definition_file: "main"
description: "Check if hidden options work (short option) #1"
send: "crazy-complete-test test -H"
bash_expected: |
  > crazy-complete-test test -H
  -H1  -H2  -H3
  > crazy-complete-test test -H
fish_expected: |
  > crazy-complete-test test -H
  -H1  -H2  -H3
zsh_expected: |
  > crazy-complete-test test -H
  1  2  3
---
number: 17
definition_file: "main"
description: "Check if hidden options work (short option) #2"
send: "crazy-complete-test test -H "
bash_expected: |
  > crazy-complete-test test -H
  1  2  3
  > crazy-complete-test test -H
fish_expected: |
  > crazy-complete-test test -H
  1  2  3
zsh_expected: |
  > crazy-complete-test test -H
  1  2  3
---
number: 18
definition_file: "main"
description: "Check if hidden options work (short option, stacked) #1"
send: "crazy-complete-test test -FH"
bash_expected: |
  > crazy-complete-test test -FH
  -FH1  -FH2  -FH3
  > crazy-complete-test test -FH
fish_expected: |
  > crazy-complete-test test -FH
  -FH1  -FH2  -FH3
zsh_expected: |
  > crazy-complete-test test -FH
  1  2  3
---
number: 19
definition_file: "main"
description: "Check if hidden options work (short option, stacked) #2"
send: "crazy-complete-test test -FH "
bash_expected: |
  > crazy-complete-test test -FH
  1  2  3
  > crazy-complete-test test -FH
fish_expected: |
  > crazy-complete-test test -FH
  1  2  3
zsh_expected: |
  > crazy-complete-test test -FH
  1  2  3
---
number: 20
definition_file: "main"
description: "Check if hidden options work (long option) #1"
send: "crazy-complete-test test --hidden "
bash_expected: |
  > crazy-complete-test test --hidden
  1  2  3
  > crazy-complete-test test --hidden
fish_expected: |
  > crazy-complete-test test --hidden
  1  2  3
zsh_expected: |
  > crazy-complete-test test --hidden
  1  2  3
---
number: 21
definition_file: "main"
description: "Check if hidden options work (long option) #2"
send: "crazy-complete-test test --hidden="
bash_expected: |
  > crazy-complete-test test --hidden=
  1  2  3
  > crazy-complete-test test --hidden=
fish_expected: |
  > crazy-complete-test test --hidden=
  --hidden=1  --hidden=2  --hidden=3
zsh_expected: |
  > crazy-complete-test test --hidden=
  1  2  3
---
number: 22
definition_file: "main"
description: "Check if hidden options work (old option) #1"
send: "crazy-complete-test test -hidden "
bash_expected: |
  > crazy-complete-test test -hidden
  1  2  3
  > crazy-complete-test test -hidden
fish_expected: |
  > crazy-complete-test test -hidden
  1  2  3
zsh_expected: |
  > crazy-complete-test test -hidden
  1  2  3
---
number: 23
definition_file: "main"
description: "Check if hidden options work (old option) #2"
send: "crazy-complete-test test -hidden="
bash_expected: |
  > crazy-complete-test test -hidden=
  1  2  3
  > crazy-complete-test test -hidden=
fish_expected: |
  > crazy-complete-test test -hidden=
  -hidden=1  -hidden=2  -hidden=3
zsh_expected: |
  > crazy-complete-test test -hidden=
  1  2  3
---
number: 24
definition_file: "main"
description: "Check option stacking"
comment: "Does not work for BASH yet"
send: "crazy-complete-test test -F"
bash_expected: |
  > crazy-complete-test test -F
fish_expected: |
  > crazy-complete-test test -F
  -FA                  (Option with arg)  -FO  (Option with optional arg)
  -Fh  (show this help message and exit)
zsh_expected: |
  > crazy-complete-test test -F
  -A  -- Option with arg
  -O  -- Option with optional arg
  -h  -- show this help message and exit
---
number: 25
definition_file: "main"
description: "Check option stacking (with required argument and no space)"
send: "crazy-complete-test test -FA"
bash_expected: |
  > crazy-complete-test test -FA
  -FA1  -FA2  -FA3
  > crazy-complete-test test -FA
fish_expected: |
  > crazy-complete-test test -FA
  -FA1  (Option with arg)  -FA2  (Option with arg)  -FA3  (Option with arg)
zsh_expected: |
  > crazy-complete-test test -FA
  1  2  3
---
number: 26
definition_file: "main"
description: "Check option stacking (with required argument and space)"
send: "crazy-complete-test test -FA "
bash_expected: |
  > crazy-complete-test test -FA
  1  2  3
  > crazy-complete-test test -FA
fish_expected: |
  > crazy-complete-test test -FA
  1  (Option with arg)  2  (Option with arg)  3  (Option with arg)
zsh_expected: |
  > crazy-complete-test test -FA
  1  2  3
---
number: 27
definition_file: "main"
description: "Check option stacking (with optional argument)"
comment: "FISH produces a bit of a wrong output"
send: "crazy-complete-test test -FO"
bash_expected: |
  > crazy-complete-test test -FO
  -FO1  -FO2  -FO3
  > crazy-complete-test test -FO
fish_expected: |
  > crazy-complete-test test -FO
  -FO1  (Option with optional arg)  -FOA                  (Option with arg)
  -FO2  (Option with optional arg)  -FOh  (show this help message and exit)
  -FO3  (Option with optional arg)
zsh_expected: |
  > crazy-complete-test test -FO
  1  2  3
---
number: 28
definition_file: "main"
description: "when: Check if none of --if-* options are listed"
send: "crazy-complete-test when -"
bash_expected: |
  > crazy-complete-test when -
  --help       --var=       -V           -optional=
  --optional=  -O           -h           -var=
  > crazy-complete-test when -
fish_expected: |
  > crazy-complete-test when -
  -h  --help                       (show this help message and exit)
  -O  -optional  -V  -var  --optional  --var  (Conditional variable)
zsh_expected: |
  > crazy-complete-test when -
  --help      -h                   -- show this help message and exit
  --optional  --var  -var  -O  -V
  -optional                        -- Conditional variable
---
number: 29
definition_file: "main"
description: "when: Check if --if-var appears (with --var)"
send: "crazy-complete-test when --var value --if-"
bash_expected: |
  > crazy-complete-test when --var value --if-var=
fish_expected: |
  > crazy-complete-test when --var value --if-var
zsh_expected: |
  > crazy-complete-test when --var value --if-var=
---
number: 30
definition_file: "main"
description: "when: Check if --if-var appears (with -V)"
send: "crazy-complete-test when -V value --if-"
bash_expected: |
  > crazy-complete-test when -V value --if-var=
fish_expected: |
  > crazy-complete-test when -V value --if-var
zsh_expected: |
  > crazy-complete-test when -V value --if-var=
---
number: 31
definition_file: "main"
description: "when: Check if --if-var appears (with -var)"
send: "crazy-complete-test when -var value --if-"
bash_expected: |
  > crazy-complete-test when -var value --if-var=
fish_expected: |
  > crazy-complete-test when -var value --if-var
zsh_expected: |
  > crazy-complete-test when -var value --if-var=
---
number: 32
definition_file: "main"
description: "when: Check if --if-var and --if-var-is-foo appears (with -V foo)"
send: "crazy-complete-test when -V foo --if-"
bash_expected: |
  > crazy-complete-test when -V foo --if-
  --if-var-is-foo=  --if-var=
  > crazy-complete-test when -V foo --if-var
fish_expected: |
  > crazy-complete-test when -V foo --if-var
  --if-var              (Only show option if --var is given)
  --if-var-is-foo  (Only show option if --var is foo or bar)
zsh_tabs: 2
zsh_expected: |
  > crazy-complete-test when -V foo --if-var
  --if-var         -- Only show option if --var is given
  --if-var-is-foo  -- Only show option if --var is foo or bar
---
number: 33
definition_file: "main"
description: "when: Check if --if-var and --if-var-is-foo appears (with -Vfoo)"
send: "crazy-complete-test when -Vfoo --if-"
bash_expected: |
  > crazy-complete-test when -Vfoo --if-
  --if-var-is-foo=  --if-var=
  > crazy-complete-test when -Vfoo --if-var
fish_expected: |
  > crazy-complete-test when -Vfoo --if-var
  --if-var              (Only show option if --var is given)
  --if-var-is-foo  (Only show option if --var is foo or bar)
zsh_tabs: 2
zsh_expected: |
  > crazy-complete-test when -Vfoo --if-var
  --if-var         -- Only show option if --var is given
  --if-var-is-foo  -- Only show option if --var is foo or bar
---
number: 34
definition_file: "main"
description: "when: Check if --if-var and --if-var-is-foo appears (with --var foo)"
send: "crazy-complete-test when --var foo --if-"
bash_expected: |
  > crazy-complete-test when --var foo --if-
  --if-var-is-foo=  --if-var=
  > crazy-complete-test when --var foo --if-var
fish_expected: |
  > crazy-complete-test when --var foo --if-var
  --if-var              (Only show option if --var is given)
  --if-var-is-foo  (Only show option if --var is foo or bar)
zsh_tabs: 2
zsh_expected: |
  > crazy-complete-test when --var foo --if-var
  --if-var         -- Only show option if --var is given
  --if-var-is-foo  -- Only show option if --var is foo or bar
---
number: 35
definition_file: "main"
description: "when: Check if --if-var and --if-var-is-foo appears (with --var=foo)"
send: "crazy-complete-test when --var=foo --if-"
bash_expected: |
  > crazy-complete-test when --var=foo --if-
  --if-var-is-foo=  --if-var=
  > crazy-complete-test when --var=foo --if-var
fish_expected: |
  > crazy-complete-test when --var=foo --if-var
  --if-var              (Only show option if --var is given)
  --if-var-is-foo  (Only show option if --var is foo or bar)
zsh_tabs: 2
zsh_expected: |
  > crazy-complete-test when --var=foo --if-var
  --if-var         -- Only show option if --var is given
  --if-var-is-foo  -- Only show option if --var is foo or bar
---
number: 36
definition_file: "main"
description: "when: Check if --if-var and --if-var-is-foo appears (with -var foo)"
send: "crazy-complete-test when -var foo --if-"
bash_expected: |
  > crazy-complete-test when -var foo --if-
  --if-var-is-foo=  --if-var=
  > crazy-complete-test when -var foo --if-var
fish_expected: |
  > crazy-complete-test when -var foo --if-var
  --if-var              (Only show option if --var is given)
  --if-var-is-foo  (Only show option if --var is foo or bar)
zsh_tabs: 2
zsh_expected: |
  > crazy-complete-test when -var foo --if-var
  --if-var         -- Only show option if --var is given
  --if-var-is-foo  -- Only show option if --var is foo or bar
---
number: 37
definition_file: "main"
description: "when: Check if --if-var and --if-var-is-foo appears (with -var=foo)"
send: "crazy-complete-test when -var=foo --if-"
bash_expected: |
  > crazy-complete-test when -var=foo --if-
  --if-var-is-foo=  --if-var=
  > crazy-complete-test when -var=foo --if-var
fish_expected: |
  > crazy-complete-test when -var=foo --if-var
  --if-var              (Only show option if --var is given)
  --if-var-is-foo  (Only show option if --var is foo or bar)
zsh_tabs: 2
zsh_expected: |
  > crazy-complete-test when -var=foo --if-var
  --if-var         -- Only show option if --var is given
  --if-var-is-foo  -- Only show option if --var is foo or bar
---
number: 38
definition_file: "main"
description: "when: Check if --if-var and --if-var-is-foo appears (with --var bar)"
send: "crazy-complete-test when --var bar --if-"
bash_expected: |
  > crazy-complete-test when --var bar --if-
  --if-var-is-foo=  --if-var=
  > crazy-complete-test when --var bar --if-var
fish_expected: |
  > crazy-complete-test when --var bar --if-var
  --if-var              (Only show option if --var is given)
  --if-var-is-foo  (Only show option if --var is foo or bar)
zsh_tabs: 2
zsh_expected: |
  > crazy-complete-test when --var bar --if-var
  --if-var         -- Only show option if --var is given
  --if-var-is-foo  -- Only show option if --var is foo or bar
---
number: 39
definition_file: "main"
description: "when: Check if --if-optional appears (with -O)"
send: "crazy-complete-test when -O --if-"
bash_expected: |
  > crazy-complete-test when -O --if-optional=
fish_expected: |
  > crazy-complete-test when -O --if-optional
zsh_expected: |
  > crazy-complete-test when -O --if-optional=
---
number: 40
definition_file: "main"
description: "when: Check if --if-optional appears (with --optional)"
send: "crazy-complete-test when --optional --if-"
bash_expected: |
  > crazy-complete-test when --optional --if-optional=
fish_expected: |
  > crazy-complete-test when --optional --if-optional
zsh_expected: |
  > crazy-complete-test when --optional --if-optional=
---
number: 41
definition_file: "main"
description: "when: Check if --if-optional appears (with -optional)"
send: "crazy-complete-test when -optional --if-"
bash_expected: |
  > crazy-complete-test when -optional --if-optional=
fish_expected: |
  > crazy-complete-test when -optional --if-optional
zsh_expected: |
  > crazy-complete-test when -optional --if-optional=
---
number: 42
definition_file: "main"
description: "when: Check if --if-optional and --if-optional-is-foo appears (with -Ofoo)"
send: "crazy-complete-test when -Ofoo --if-"
bash_expected: |
  > crazy-complete-test when -Ofoo --if-
  --if-optional-is-foo=  --if-optional=
  > crazy-complete-test when -Ofoo --if-optional
fish_expected: |
  > crazy-complete-test when -Ofoo --if-optional
  …-optional       (Only show option if --optional is given)
  …-optional-is-foo  (Only show option if --optional is foo)
zsh_tabs: 2
zsh_expected: |
  > crazy-complete-test when -Ofoo --if-optional
  --if-optional         -- Only show option if --optional is given
  --if-optional-is-foo  -- Only show option if --optional is foo
---
number: 43
definition_file: "main"
description: "when: Check if --if-optional and --if-optional-is-foo appears (with --optional=foo)"
send: "crazy-complete-test when --optional=foo --if-"
bash_expected: |
  > crazy-complete-test when --optional=foo --if-
  --if-optional-is-foo=  --if-optional=
  > crazy-complete-test when --optional=foo --if-optional
fish_expected: |
  > crazy-complete-test when --optional=foo --if-optional
  …-optional       (Only show option if --optional is given)
  …-optional-is-foo  (Only show option if --optional is foo)
zsh_tabs: 2
zsh_expected: |
  > crazy-complete-test when --optional=foo --if-optional
  --if-optional         -- Only show option if --optional is given
  --if-optional-is-foo  -- Only show option if --optional is foo
---
number: 44
definition_file: "main"
description: "when: Check if --if-optional and --if-optional-is-foo appears (with -optional=foo)"
send: "crazy-complete-test when -optional=foo --if-"
bash_expected: |
  > crazy-complete-test when -optional=foo --if-
  --if-optional-is-foo=  --if-optional=
  > crazy-complete-test when -optional=foo --if-optional
fish_expected: |
  > crazy-complete-test when -optional=foo --if-optional
  …-optional       (Only show option if --optional is given)
  …-optional-is-foo  (Only show option if --optional is foo)
zsh_tabs: 2
zsh_expected: |
  > crazy-complete-test when -optional=foo --if-optional
  --if-optional         -- Only show option if --optional is given
  --if-optional-is-foo  -- Only show option if --optional is foo
---
number: 45
definition_file: "main"
description: "complete: Check --exec"
send: "crazy-complete-test complete --exec "
bash_expected: |
  > crazy-complete-test complete --exec
  Item\ 1  Item\ 2
  > crazy-complete-test complete --exec Item\
fish_expected: |
  > crazy-complete-test complete --exec Item\
  Item 1  (Description 1)  Item 2  (Description 2)
zsh_expected: |
  > crazy-complete-test complete --exec Item\
---
number: 46
definition_file: "main"
description: "complete: Check --exec-fast"
send: "crazy-complete-test complete --exec-fast "
bash_expected: |
  > crazy-complete-test complete --exec-fast
  Item_1  Item_2
  > crazy-complete-test complete --exec-fast Item_
fish_expected: |
  > crazy-complete-test complete --exec-fast Item_
  Item_1  (Description 1)  Item_2  (Description 2)
zsh_expected: |
  > crazy-complete-test complete --exec-fast Item_
---
number: 47
definition_file: "main"
description: "complete: Check --exec-internal"
send: "crazy-complete-test complete --exec-internal "
bash_expected: |
  > crazy-complete-test complete --exec-internal
  one    three  two
  > crazy-complete-test complete --exec-internal
fish_expected: |
  > crazy-complete-test complete --exec-internal
  one    (Execute internal code)  two  (Execute internal code)
  three  (Execute internal code)
zsh_expected: |
  > crazy-complete-test complete --exec-internal
  one    three  two
---
number: 48
definition_file: "main"
description: "complete: Check --choices"
send: "crazy-complete-test complete --choices "
bash_expected: |
  > crazy-complete-test complete --choices
  1        2        foo:bar
  > crazy-complete-test complete --choices
fish_expected: |
  > crazy-complete-test complete --choices
  1  (one)  2  (two)  foo:bar  (Description for foo:bar)
zsh_expected: |
  > crazy-complete-test complete --choices
  1        -- one
  2        -- two
  foo:bar  -- Description for foo:bar
---
number: 49
definition_file: "main"
description: "complete: Check --value-list #1"
send: "crazy-complete-test complete --value-list "
bash_expected: |
  > crazy-complete-test complete --value-list
  bar  baz  foo
  > crazy-complete-test complete --value-list
fish_expected: |
  > crazy-complete-test complete --value-list
  bar  (Complete a list)  baz  (Complete a list)  foo  (Complete a list)
zsh_expected: |
  > crazy-complete-test complete --value-list
  bar  baz  foo
---
number: 50
definition_file: "main"
description: "complete: Check --value-list #2"
send: "crazy-complete-test complete --value-list f"
bash_expected: |
  > crazy-complete-test complete --value-list foo
fish_expected: |
  > crazy-complete-test complete --value-list foo
zsh_expected: |
  > crazy-complete-test complete --value-list foo,
---
number: 51
definition_file: "main"
description: "complete: Check --value-list #3"
send: "crazy-complete-test complete --value-list foo"
bash_expected: |
  > crazy-complete-test complete --value-list foo,
fish_expected: |
  > crazy-complete-test complete --value-list foo
zsh_expected: |
  > crazy-complete-test complete --value-list foo,
---
number: 52
definition_file: "main"
description: "complete: Check --value-list #4"
send: "crazy-complete-test complete --value-list foo,baz,"
bash_expected: |
  > crazy-complete-test complete --value-list foo,baz,bar
fish_expected: |
  > crazy-complete-test complete --value-list foo,baz,bar
zsh_expected: |
  > crazy-complete-test complete --value-list foo,baz,bar,
---
number: 53
definition_file: "main"
description: "complete: Check --value-list-2"
send: "crazy-complete-test complete --value-list-2 "
bash_expected: |
  > crazy-complete-test complete --value-list-2
  bar  foo
  > crazy-complete-test complete --value-list-2
fish_expected: |
  > crazy-complete-test complete --value-list-2
  bar  (Some bar)  foo  (Some foo)
zsh_expected: |
  > crazy-complete-test complete --value-list-2
  bar  -- Some bar
  foo  -- Some foo
---
number: 54
definition_file: "main"
description: "complete: Check --range-1"
send: "crazy-complete-test complete --range-1 "
bash_expected: |
  > crazy-complete-test complete --range-1
  1  2  3  4  5  6  7  8  9
  > crazy-complete-test complete --range-1
fish_expected: |
  > crazy-complete-test complete --range-1
  1  (Complete a range)  4  (Complete a range)  7  (Complete a range)
  2  (Complete a range)  5  (Complete a range)  8  (Complete a range)
  3  (Complete a range)  6  (Complete a range)  9  (Complete a range)
zsh_expected: |
  > crazy-complete-test complete --range-1
  1  2  3  4  5  6  7  8  9
---
number: 55
definition_file: "main"
description: "complete: Check --range-2"
send: "crazy-complete-test complete --range-2 "
bash_expected: |
  > crazy-complete-test complete --range-2
  1  3  5  7  9
  > crazy-complete-test complete --range-2
fish_expected: |
  > crazy-complete-test complete --range-2
  1  (Complete a range)  5  (Complete a range)  9  (Complete a range)
  3  (Complete a range)  7  (Complete a range)
zsh_expected: |
  > crazy-complete-test complete --range-2
  1  3  5  7  9
---
number: 56
definition_file: "main"
description: "Check if positionals are working (1st positional)"
send: "crazy-complete-test test "
bash_expected: |
  > crazy-complete-test test
  first1  first2  first3
  > crazy-complete-test test first
fish_expected: |
  > crazy-complete-test test first
  first1  (First positional)  first3  (First positional)
  first2  (First positional)
zsh_expected: |
  > crazy-complete-test test first
---
number: 57
definition_file: "main"
description: "Check if positionals are working (2nd positional)"
send: "crazy-complete-test test first1 "
bash_expected: |
  > crazy-complete-test test first1
  second1  second2
  > crazy-complete-test test first1 second
fish_expected: |
  > crazy-complete-test test first1 second
  second1  (Second positional)  second2  (Second positional)
zsh_expected: |
  > crazy-complete-test test first1 second
---
number: 58
definition_file: "main"
description: "Check if positionals are working (3rd positional)"
send: "crazy-complete-test test first1 second1 "
bash_expected: |
  > crazy-complete-test test first1 second1
  repeated1  repeated2
  > crazy-complete-test test first1 second1 repeated
fish_expected: |
  > crazy-complete-test test first1 second1 repeated
  repeated1  (Repeated positional)  repeated2  (Repeated positional)
zsh_expected: |
  > crazy-complete-test test first1 second1 repeated
---
number: 59
definition_file: "main"
description: "Check if positionals are working (repeated positional)"
send: "crazy-complete-test test first1 second1 repeated1 "
bash_expected: |
  > crazy-complete-test test first1 second1 repeated1
  repeated1  repeated2
  > crazy-complete-test test first1 second1 repeated1 repeated
fish_expected: |
  > crazy-complete-test test first1 second1 repeated1 repeated
  repeated1  (Repeated positional)  repeated2  (Repeated positional)
zsh_expected: |
  > crazy-complete-test test first1 second1 repeated1 repeated
---
number: 60
definition_file: "main"
description: "Check if aliases are working (alias1)"
send: "crazy-complete-test alias1 --arg "
bash_expected: |
  > crazy-complete-test alias1 --arg
  1  2  3
  > crazy-complete-test alias1 --arg
fish_expected: |
  > crazy-complete-test alias1 --arg
  1  (Option with arg)  2  (Option with arg)  3  (Option with arg)
zsh_expected: |
  > crazy-complete-test alias1 --arg
  1  2  3
---
number: 61
definition_file: "main"
description: "Check if aliases are working (alias2)"
send: "crazy-complete-test alias2 --arg "
bash_expected: |
  > crazy-complete-test alias2 --arg
  1  2  3
  > crazy-complete-test alias2 --arg
fish_expected: |
  > crazy-complete-test alias2 --arg
  1  (Option with arg)  2  (Option with arg)  3  (Option with arg)
zsh_expected: |
  > crazy-complete-test alias2 --arg
  1  2  3
---
number: 62
definition_file: "when"
description: "Check multiple-when --complete with --files"
send: "crazy-complete-test multiple-when --files --complete "
bash_expected: |
  > crazy-complete-test multiple-when --files --complete
  file1  file2  file3
  > crazy-complete-test multiple-when --files --complete file
fish_expected: |
  > crazy-complete-test multiple-when --files --complete file
  file1  file2  file3
zsh_expected: |
  > crazy-complete-test multiple-when --files --complete file
---
number: 63
definition_file: "when"
description: "Check multiple-when --complete with --directories"
send: "crazy-complete-test multiple-when --directories --complete "
bash_expected: |
  > crazy-complete-test multiple-when --directories --complete
  dir1  dir2  dir3
  > crazy-complete-test multiple-when --directories --complete dir
fish_expected: |
  > crazy-complete-test multiple-when --directories --complete dir
  dir1  dir2  dir3
zsh_expected: |
  > crazy-complete-test multiple-when --directories --complete dir
---
number: 64
definition_file: "when"
description: "Check multiple-when positional with --files"
send: "crazy-complete-test multiple-when --files "
bash_expected: |
  > crazy-complete-test multiple-when --files
  file1  file2  file3
  > crazy-complete-test multiple-when --files file
fish_expected: |
  > crazy-complete-test multiple-when --files file
  file1  file2  file3
zsh_expected: |
  > crazy-complete-test multiple-when --files file
---
number: 65
definition_file: "when"
description: "Check multiple-when positional with --directories"
send: "crazy-complete-test multiple-when --directories "
bash_expected: |
  > crazy-complete-test multiple-when --directories
  dir1  dir2  dir3
  > crazy-complete-test multiple-when --directories dir
fish_expected: |
  > crazy-complete-test multiple-when --directories dir
  dir1  dir2  dir3
zsh_expected: |
  > crazy-complete-test multiple-when --directories dir
---
number: 66
definition_file: "groups"
description: "Check -A"
send: "crazy-complete-test -A -"
bash_expected: |
  > crazy-complete-test -A -C
fish_expected: |
  > crazy-complete-test -A -C
zsh_expected: |
  > crazy-complete-test -A -C
---
number: 67
definition_file: "groups"
description: "Check -B"
send: "crazy-complete-test -B -"
bash_expected: |
  > crazy-complete-test -B -
fish_expected: |
  > crazy-complete-test -B -
zsh_expected: |
  > crazy-complete-test -B -
---
number: 68
definition_file: "groups"
description: "Check -C"
send: "crazy-complete-test -C -"
bash_expected: |
  > crazy-complete-test -C -A
fish_expected: |
  > crazy-complete-test -C -A
zsh_expected: |
  > crazy-complete-test -C -A
---
number: 69
definition_file: "combine"
description: "Check combine"
send: "crazy-complete-test -o "
bash_expected: |
  > crazy-complete-test -o
  0  1  2  3  4  5  6  7
  > crazy-complete-test -o
fish_expected: |
  > crazy-complete-test -o
  0  2  4  6    (six)
  1  3  5  7  (seven)
zsh_expected: |
  > crazy-complete-test -o
  6  -- six
  7  -- seven
  2  3  0  1  4  5
---
number: 70
definition_file: "inherit-off"
description: "Check if options are not inherited"
send: "crazy-complete-test subcommand --"
bash_expected: |
  > crazy-complete-test subcommand --sub-bar=
fish_expected: |
  > crazy-complete-test subcommand --sub-bar
zsh_expected: |
  > crazy-complete-test subcommand --sub-bar=
---
number: 71
definition_file: "inherit-off"
description: "Check if options are not inherited (2)"
send: "crazy-complete-test subcommand --option lastcommand --"
bash_expected: |
  > crazy-complete-test subcommand --option lastcommand --last-option=
fish_expected: |
  > crazy-complete-test subcommand --option lastcommand --sub-bar
zsh_expected: |
  > crazy-complete-test subcommand --option lastcommand --sub-bar=
---
number: 72
definition_file: "inherit-on"
description: "Check if options are inherited"
send: "crazy-complete-test subcommand --"
bash_expected: |
  > crazy-complete-test subcommand --
  --option=   --sub-bar=
  > crazy-complete-test subcommand --
fish_expected: |
  > crazy-complete-test subcommand --
  --option  --sub-bar
zsh_expected: |
  > crazy-complete-test subcommand --
  --option   --sub-bar
---
number: 73
definition_file: "inherit-on"
description: "Check if options are inherited (2)"
send: "crazy-complete-test subcommand --option lastcommand --"
bash_expected: |
  > crazy-complete-test subcommand --option lastcommand --
  --option=   --sub-bar=
  > crazy-complete-test subcommand --option lastcommand --
fish_expected: |
  > crazy-complete-test subcommand --option lastcommand --
  --option  --sub-bar
zsh_expected: |
  > crazy-complete-test subcommand --option lastcommand --
  --option   --sub-bar
---
number: 74
definition_file: "capture"
description: "Check if capture works (1)"
send: "crazy-complete-test --database mysql -t "
bash_expected: |
  > crazy-complete-test --database mysql -t
  orders    products  users
  > crazy-complete-test --database mysql -t
fish_expected: |
  > crazy-complete-test --database mysql -t
zsh_expected: |
  > crazy-complete-test --database mysql -t
  orders    products  users
---
number: 75
definition_file: "capture"
description: "Check if capture works (2)"
send: "crazy-complete-test --database postgres -t "
bash_expected: |
  > crazy-complete-test --database postgres -t
  customers     invoices      transactions
  > crazy-complete-test --database postgres -t
fish_expected: |
  > crazy-complete-test --database postgres -t
zsh_expected: |
  > crazy-complete-test --database postgres -t
  customers     invoices      transactions
---
number: 76
definition_file: "choices"
description: "Check choices list (short)"
send: "crazy-complete-test --choices-list-short "
bash_expected: |
  > crazy-complete-test --choices-list-short
  a  b  c
  > crazy-complete-test --choices-list-short
fish_expected: |
  > crazy-complete-test --choices-list-short
  a  b  c
zsh_expected: |
  > crazy-complete-test --choices-list-short
  a  b  c
---
number: 77
definition_file: "choices"
description: "Check choices list (short) (colon)"
send: "crazy-complete-test --choices-list-short-colon "
bash_expected: |
  > crazy-complete-test --choices-list-short-colon
  a:a  b:b  c:c
  > crazy-complete-test --choices-list-short-colon
fish_expected: |
  > crazy-complete-test --choices-list-short-colon
  a:a  b:b  c:c
zsh_expected: |
  > crazy-complete-test --choices-list-short-colon
  a:a  b:b  c:c
---
number: 78
definition_file: "choices"
description: "Check choices list (long)"
send: "crazy-complete-test --choices-list-long "
bash_expected: |
  > crazy-complete-test --choices-list-long
  aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
  ccccccccccccccccccccccccccccccccccccccccc
  ddddddddddddddddddddddddddddddddddddddddd
  eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
  fffffffffffffffffffffffffffffffffffffffff
  > crazy-complete-test --choices-list-long
fish_expected: |
  > crazy-complete-test --choices-list-long
  aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
  ccccccccccccccccccccccccccccccccccccccccc
  ddddddddddddddddddddddddddddddddddddddddd
  eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
  fffffffffffffffffffffffffffffffffffffffff
zsh_expected: |
  > crazy-complete-test --choices-list-long
  aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
  ccccccccccccccccccccccccccccccccccccccccc
  ddddddddddddddddddddddddddddddddddddddddd
  eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
  fffffffffffffffffffffffffffffffffffffffff
---
number: 79
definition_file: "choices"
description: "Check choices list (long) (colon)"
send: "crazy-complete-test --choices-list-long-colon "
bash_expected: |
  > crazy-complete-test --choices-list-long-colon
  a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a
  b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b
  c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c
  d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d
  e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e
  f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f
  > crazy-complete-test --choices-list-long-colon
fish_expected: |
  > crazy-complete-test --choices-list-long-colon
  a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a
  b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b
  c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c
  d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d
  e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e
  f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f
zsh_expected: |
  > crazy-complete-test --choices-list-long-colon
  a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a
  b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b
  c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c
  d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d
  e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e
  f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f
---
number: 80
definition_file: "choices"
description: "Check choices dict (short)"
send: "crazy-complete-test --choices-dict-short "
bash_expected: |
  > crazy-complete-test --choices-dict-short
  a  b
  > crazy-complete-test --choices-dict-short
fish_expected: |
  > crazy-complete-test --choices-dict-short
  a  (letter a)  b  (letter b)
zsh_expected: |
  > crazy-complete-test --choices-dict-short
  a  -- letter a
  b  -- letter b
---
number: 81
definition_file: "choices"
description: "Check choices dict (short) (colon)"
send: "crazy-complete-test --choices-dict-short-colon "
bash_expected: |
  > crazy-complete-test --choices-dict-short-colon
  a:a  b:b
  > crazy-complete-test --choices-dict-short-colon
fish_expected: |
  > crazy-complete-test --choices-dict-short-colon
  a:a  (letter:a)  b:b  (letter:b)
zsh_expected: |
  > crazy-complete-test --choices-dict-short-colon
  a:a  -- letter:a
  b:b  -- letter:b
---
number: 82
definition_file: "choices"
description: "Check choices dict (long)"
send: "crazy-complete-test --choices-dict-long "
bash_expected: |
  > crazy-complete-test --choices-dict-long
  a  b  c  d  e  f
  > crazy-complete-test --choices-dict-long
fish_expected: |
  > crazy-complete-test --choices-dict-long
  a  (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)
  b  (bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb)
  c  (ccccccccccccccccccccccccccccccccccccccccc)
  d  (ddddddddddddddddddddddddddddddddddddddddd)
  e  (eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee)
  f  (fffffffffffffffffffffffffffffffffffffffff)
zsh_expected: |
  > crazy-complete-test --choices-dict-long
  a  -- aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  b  -- bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
  c  -- ccccccccccccccccccccccccccccccccccccccccc
  d  -- ddddddddddddddddddddddddddddddddddddddddd
  e  -- eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
  f  -- fffffffffffffffffffffffffffffffffffffffff
---
number: 83
definition_file: "choices"
description: "Check choices dict (long) (colon)"
send: "crazy-complete-test --choices-dict-long-colon "
bash_expected: |
  > crazy-complete-test --choices-dict-long-colon
  a:a  b:b  c:c  d:d  e:e  f:f
  > crazy-complete-test --choices-dict-long-colon
fish_expected: |
  > crazy-complete-test --choices-dict-long-colon
  a:a  (a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a)
  b:b  (b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b)
  c:c  (c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c)
  d:d  (d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d)
  e:e  (e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e)
  f:f  (f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f)
zsh_expected: |
  > crazy-complete-test --choices-dict-long-colon
  a:a  -- a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a:a
  b:b  -- b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b:b
  c:c  -- c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c:c
  d:d  -- d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d:d
  e:e  -- e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e:e
  f:f  -- f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f:f
---
number: 84
definition_file: "main"
description: "Check if end-of-options (--) terminates options"
send: "crazy-complete-test -- -"
bash_expected: |
  > crazy-complete-test -- -
fish_expected: |
  > crazy-complete-test -- -
  argparse-actions  (argparse tool actions)  when  (Test the "when"-feature)
zsh_expected: |
  > crazy-complete-test -- -
---
number: 85
definition_file: "main"
description: "Check if after end-of-options (--) positionals are completed"
send: "crazy-complete-test -- a"
bash_expected: |
  > crazy-complete-test -- a
  alias1            alias2            argparse-actions
  > crazy-complete-test -- a
fish_expected: |
  > crazy-complete-test -- a
  alias1  (For testing the completer)  argparse-actions  (argparse tool actions)
  alias2  (For testing the completer)
zsh_expected: |
  > crazy-complete-test -- a
  alias2            alias1  -- For testing the completer
  argparse-actions          -- argparse tool actions
---
number: 86
definition_file: "main"
description: "Check if after end-of-options (--) positionals are completed (2)"
send: "crazy-complete-test -- test "
bash_expected: |
  > crazy-complete-test -- test
  first1  first2  first3
  > crazy-complete-test -- test first
fish_expected: |
  > crazy-complete-test -- test first
  first1  (First positional)  first3  (First positional)
  first2  (First positional)
zsh_expected: |
  > crazy-complete-test -- test first
---
number: 87
definition_file: "filedir"
description: "Check --directory"
send: "crazy-complete-test --directory "
bash_expected: |
  > crazy-complete-test --directory
  bin        directory
  > crazy-complete-test --directory
fish_expected: |
  > crazy-complete-test --directory
  bin/  directory/
zsh_expected: |
  > crazy-complete-test --directory
  bin/        directory/
---
number: 88
definition_file: "filedir"
description: "Check --file"
send: "crazy-complete-test --file "
bash_expected: |
  > crazy-complete-test --file
  README.md         file with spaces  file4.txt.1       source.c++
  archive.tar.gz    file0.txt         image0.jpg
  bin               file1.TXT         image1.JPG
  directory         file3.tXt         image2.jPg
  > crazy-complete-test --file
fish_expected: |
  > crazy-complete-test --file
  archive.tar.gz  file with spaces  file3.tXt    image1.JPG  source.c++
  bin/            file0.txt         file4.txt.1  image2.jPg
  directory/      file1.TXT         image0.jpg   README.md
zsh_expected: |
  > crazy-complete-test --file
  README.md           file\ with\ spaces  file4.txt.1         source.c++
  archive.tar.gz      file0.txt           image0.jpg
  bin/                file1.TXT           image1.JPG
  directory/          file3.tXt           image2.jPg
---
number: 89
definition_file: "filedir"
description: "Check --file-txt-jpg"
send: "crazy-complete-test --file-txt-jpg "
bash_expected: |
  > crazy-complete-test --file-txt-jpg
  bin         file0.txt   file3.tXt   image1.JPG
  directory   file1.TXT   image0.jpg  image2.jPg
  > crazy-complete-test --file-txt-jpg
fish_expected: |
  > crazy-complete-test --file-txt-jpg
  bin/        file0.txt  file3.tXt   image1.JPG
  directory/  file1.TXT  image0.jpg  image2.jPg
zsh_expected: |
  > crazy-complete-test --file-txt-jpg
  bin/        file0.txt   file3.tXt   image1.JPG
  directory/  file1.TXT   image0.jpg  image2.jPg
---
number: 90
definition_file: "filedir"
description: "Check --file-tar-gz"
send: "crazy-complete-test --file-tar-gz "
bash_expected: |
  > crazy-complete-test --file-tar-gz
  archive.tar.gz  bin             directory
  > crazy-complete-test --file-tar-gz
fish_expected: |
  > crazy-complete-test --file-tar-gz
  archive.tar.gz  bin/  directory/
zsh_expected: |
  > crazy-complete-test --file-tar-gz
  archive.tar.gz  bin/            directory/
---
number: 91
definition_file: "filedir"
description: "Check --file-cpp"
send: "crazy-complete-test --file-cpp "
bash_expected: |
  > crazy-complete-test --file-cpp
  bin         directory   source.c++
  > crazy-complete-test --file-cpp
fish_expected: |
  > crazy-complete-test --file-cpp
  bin/  directory/  source.c++
zsh_expected: |
  > crazy-complete-test --file-cpp
  bin/        directory/  source.c++
---
number: 92
definition_file: "command_arg"
description: "Check --command-path"
send: "crazy-complete-test --command-path my_test_b"
bash_expected: |
  > crazy-complete-test --command-path my_test_binary
fish_expected: |
  > crazy-complete-test --command-path my_test_binary
zsh_expected: |
  > crazy-complete-test --command-path my_test_binary
---
number: 93
definition_file: "command_arg"
description: "Check --command-path-append"
send: "crazy-complete-test --command-path-append my_test_b"
bash_expected: |
  > crazy-complete-test --command-path-append my_test_binary
fish_expected: |
  > crazy-complete-test --command-path-append my_test_binary
zsh_expected: |
  > crazy-complete-test --command-path-append my_test_binary
---
number: 94
definition_file: "command_arg"
description: "Check --command-path-prepend"
send: "crazy-complete-test --command-path-prepend my_test_b"
bash_expected: |
  > crazy-complete-test --command-path-prepend my_test_binary
fish_expected: |
  > crazy-complete-test --command-path-prepend my_test_binary
zsh_expected: |
  > crazy-complete-test --command-path-prepend my_test_binary
---
number: 95
definition_file: "command_arg"
description: "Check --command-path-append-prepend"
send: "crazy-complete-test --command-path-append-prepend my_test_b"
bash_expected: |
  > crazy-complete-test --command-path-append-prepend my_test_binary
fish_expected: |
  > crazy-complete-test --command-path-append-prepend my_test_binary
zsh_expected: |
  > crazy-complete-test --command-path-append-prepend my_test_binary
---
number: 96
definition_file: "filedir"
description: "Check --file-txt-fuzzy"
send: "crazy-complete-test --file-txt-fuzzy "
bash_expected: |
  > crazy-complete-test --file-txt-fuzzy
  bin          directory    file0.txt    file1.TXT    file3.tXt    file4.txt.1
  > crazy-complete-test --file-txt-fuzzy
fish_expected: |
  > crazy-complete-test --file-txt-fuzzy
  bin/  directory/  file0.txt  file1.TXT  file3.tXt  file4.txt.1
zsh_expected: |
  > crazy-complete-test --file-txt-fuzzy
  bin/         directory/   file0.txt    file1.TXT    file3.tXt    file4.txt.1
---
number: 97
definition_file: "list"
description: "Check --list (1)"
send: "crazy-complete-test --list "
bash_expected: |
  > crazy-complete-test --list
  one    three  two
  > crazy-complete-test --list
fish_expected: |
  > crazy-complete-test --list
  one  three  two
zsh_expected: |
  > crazy-complete-test --list
  one    three  two
---
number: 98
definition_file: "list"
description: "Check --list (2)"
send: "crazy-complete-test --list one,"
bash_expected: |
  > crazy-complete-test --list one,
  one,three  one,two
  > crazy-complete-test --list one,t
fish_expected: |
  > crazy-complete-test --list one,t
  one,three  one,two
zsh_expected: |
  > crazy-complete-test --list one,
  one    three  two
---
number: 99
definition_file: "list"
description: "Check --colon-list (1)"
send: "crazy-complete-test --colon-list "
bash_expected: |
  > crazy-complete-test --colon-list
  one    three  two
  > crazy-complete-test --colon-list
fish_expected: |
  > crazy-complete-test --colon-list
  one  three  two
zsh_expected: |
  > crazy-complete-test --colon-list
  one    three  two
---
number: 100
definition_file: "list"
description: "Check --colon-list (2)"
send: "crazy-complete-test --colon-list one:"
bash_expected: |
  > crazy-complete-test --colon-list one:
  three  two
  > crazy-complete-test --colon-list one:t
fish_expected: |
  > crazy-complete-test --colon-list one:t
  one:three  one:two
zsh_expected: |
  > crazy-complete-test --colon-list one:
  one    three  two
---
number: 101
definition_file: "list"
description: "Check --combined-list"
send: "crazy-complete-test --combined-list "
bash_expected: |
  > crazy-complete-test --combined-list
  1      2      3      one    three  two
  > crazy-complete-test --combined-list
fish_expected: |
  > crazy-complete-test --combined-list
  1  2  3  one  three  two
zsh_expected: |
  > crazy-complete-test --combined-list
  1      2      3      one    three  two
---
number: 102
definition_file: "list"
description: "Check --duplicate-list (1)"
send: "crazy-complete-test --duplicate-list "
bash_expected: |
  > crazy-complete-test --duplicate-list
  one    three  two
  > crazy-complete-test --duplicate-list
fish_expected: |
  > crazy-complete-test --duplicate-list
  one  three  two
zsh_expected: |
  > crazy-complete-test --duplicate-list
  one    three  two
---
number: 103
definition_file: "list"
description: "Check --duplicate-list (2)"
send: "crazy-complete-test --duplicate-list one,"
bash_expected: |
  > crazy-complete-test --duplicate-list one,
  one,one    one,three  one,two
  > crazy-complete-test --duplicate-list one,
fish_expected: |
  > crazy-complete-test --duplicate-list one,
  one,one  one,three  one,two
zsh_expected: |
  > crazy-complete-test --duplicate-list one,
  one    three  two
---
number: 104
definition_file: "main"
description: "complete: Check --value-list-dup"
send: "crazy-complete-test complete --value-list-dup foo,"
bash_expected: |
  > crazy-complete-test complete --value-list-dup foo,
  foo,bar  foo,baz  foo,foo
  > crazy-complete-test complete --value-list-dup foo,
fish_expected: |
  > crazy-complete-test complete --value-list-dup foo,
  foo,bar  (Complete a list (with duplicates))
  foo,baz  (Complete a list (with duplicates))
  foo,foo  (Complete a list (with duplicates))
zsh_expected: |
  > crazy-complete-test complete --value-list-dup foo,
  bar  baz  foo
---
number: 105
definition_file: "main"
description: "complete: Check --integer"
send: "crazy-complete-test complete --integer 1"
bash_expected: |
  > crazy-complete-test complete --integer 1
  1   1h  1m  1s
  > crazy-complete-test complete --integer 1
fish_expected: |
  > crazy-complete-test complete --integer 1
  1h  (hours)  1m  (minutes)  1s  (seconds)
zsh_expected: |
  > crazy-complete-test complete --integer 1
  s -- seconds  m -- minutes  h -- hours
---
number: 106
definition_file: "main"
description: "complete: Check --float"
send: "crazy-complete-test complete --float 1"
bash_expected: |
  > crazy-complete-test complete --float 1
  1   1h  1m  1s
  > crazy-complete-test complete --float 1
fish_expected: |
  > crazy-complete-test complete --float 1
  1h  (hours)  1m  (minutes)  1s  (seconds)
zsh_expected: |
  > crazy-complete-test complete --float 1
  s -- seconds  m -- minutes  h -- hours
---
number: 107
definition_file: "main"
description: "complete: Check --float (2)"
send: "crazy-complete-test complete --float 1.0"
bash_expected: |
  > crazy-complete-test complete --float 1.0
  1.0   1.0h  1.0m  1.0s
  > crazy-complete-test complete --float 1.0
fish_expected: |
  > crazy-complete-test complete --float 1.0
  1.0h  (hours)  1.0m  (minutes)  1.0s  (seconds)
zsh_expected: |
  > crazy-complete-test complete --float 1.0
  s -- seconds  m -- minutes  h -- hours
---
number: 108
definition_file: "key_value_list"
description: "key_value_list: Check -o"
send: "crazy-complete-test -o "
bash_expected: |
  > crazy-complete-test -o
  animal  async   file    nocomp  number  proc    user
  > crazy-complete-test -o
fish_expected: |
  > crazy-complete-test -o
  animal=  (select an animal)  nocomp=     (no completer)  user=  (select a user)
  async      (set async mode)  number=  (select a number)
  file=                        proc=   (select a process)
zsh_expected: |
  > crazy-complete-test -o
  animal  -- select an animal
  async   -- set async mode
  nocomp  -- no completer
  number  -- select a number
  proc    -- select a process
  user    -- select a user
  file
---
number: 109
definition_file: "key_value_list"
description: "key_value_list: Check -o a"
send: "crazy-complete-test -o a"
bash_expected: |
  > crazy-complete-test -o a
  animal  async
  > crazy-complete-test -o a
fish_expected: |
  > crazy-complete-test -o a
  animal=  (select an animal)  async  (set async mode)
zsh_expected: |
  > crazy-complete-test -o a
  animal  -- select an animal
  async   -- set async mode
---
number: 110
definition_file: "key_value_list"
description: "key_value_list: Check -o an"
send: "crazy-complete-test -o an"
bash_expected: |
  > crazy-complete-test -o animal
fish_expected: |
  > crazy-complete-test -o animal=
zsh_expected: |
  > crazy-complete-test -o animal=
---
number: 111
definition_file: "key_value_list"
description: "key_value_list: Check -o animal="
send: "crazy-complete-test -o animal="
bash_expected: |
  > crazy-complete-test -o animal=
  cat    dog    horse
  > crazy-complete-test -o animal=
fish_expected: |
  > crazy-complete-test -o animal=
  animal=cat  animal=dog  animal=horse
zsh_expected: |
  > crazy-complete-test -o animal=
  cat    dog    horse
---
number: 112
definition_file: "key_value_list"
description: "key_value_list: Check -o animal,"
send: "crazy-complete-test -o animal,"
bash_expected: |
  > crazy-complete-test -o animal,
  animal,async   animal,nocomp  animal,proc
  animal,file    animal,number  animal,user
  > crazy-complete-test -o animal,
fish_expected: |
  > crazy-complete-test -o animal,
  animal,animal=  (select an animal)  animal,number=  (select a number)
  animal,async      (set async mode)  animal,proc=   (select a process)
  animal,file=                        animal,user=      (select a user)
  animal,nocomp=      (no completer)
zsh_expected: |
  > crazy-complete-test -o animal,
  async   -- set async mode
  nocomp  -- no completer
  number  -- select a number
  proc    -- select a process
  user    -- select a user
  file
---
number: 113
definition_file: "key_value_list"
description: "key_value_list: Check -o animal,n"
send: "crazy-complete-test -o animal,n"
bash_expected: |
  > crazy-complete-test -o animal,n
  animal,nocomp  animal,number
  > crazy-complete-test -o animal,n
fish_expected: |
  > crazy-complete-test -o animal,n
  animal,nocomp=  (no completer)  animal,number=  (select a number)
zsh_expected: |
  > crazy-complete-test -o animal,n
  nocomp  -- no completer
  number  -- select a number
---
number: 114
definition_file: "key_value_list"
description: "key_value_list: Check -o number="
send: "crazy-complete-test -o number="
bash_expected: |
  > crazy-complete-test -o number=
  0  1  2
  > crazy-complete-test -o number=
fish_expected: |
  > crazy-complete-test -o number=
  number=0  (zero)  number=1  (one)  number=2  (two)
zsh_expected: |
  > crazy-complete-test -o number=
  0  -- zero
  1  -- one
  2  -- two
---
number: 115
definition_file: "key_value_list"
description: "key_value_list: Check -o 'number="
send: "crazy-complete-test -o 'number="
bash_expected: |
  > crazy-complete-test -o 'number=
  number=0  number=1  number=2
  > crazy-complete-test -o 'number=
fish_expected: |
  > crazy-complete-test -o 'number=
  'number=0  (zero)  'number=1  (one)  'number=2  (two)
zsh_expected: |
  > crazy-complete-test -o 'number=
  0  -- zero
  1  -- one
  2  -- two
---
number: 116
definition_file: "key_value_list"
description: "key_value_list: Check -o \"number="
send: "crazy-complete-test -o \"number="
bash_expected: |
  > crazy-complete-test -o "number=
  number=0  number=1  number=2
  > crazy-complete-test -o "number=
fish_expected: |
  > crazy-complete-test -o "number=
  "number=0  (zero)  "number=1  (one)  "number=2  (two)
zsh_expected: |
  > crazy-complete-test -o "number=
  0  -- zero
  1  -- one
  2  -- two
---
number: 117
definition_file: "key_value_list"
description: "key_value_list: Check -o file=f"
send: "crazy-complete-test -o file=f"
bash_expected: |
  > crazy-complete-test -o file=f
  file with spaces  file1.TXT         file4.txt.1
  file0.txt         file3.tXt
  > crazy-complete-test -o file=file
fish_expected: |
  > crazy-complete-test -o file=file
  file=file with spaces  file=file1.TXT  file=file4.txt.1
  file=file0.txt         file=file3.tXt
zsh_expected: |
  > crazy-complete-test -o file=file
---
number: 118
definition_file: "complex"
description: "complex: Check no arguments"
send: "crazy-complete-test "
bash_expected: |
  > crazy-complete-test
  log:     output:
  > crazy-complete-test
fish_expected: |
  > crazy-complete-test
  log:  output:
zsh_expected: |
  > crazy-complete-test
  log:     output:
---
number: 119
definition_file: "complex"
description: "complex: Check l"
send: "crazy-complete-test l"
bash_expected: |
  > crazy-complete-test log:
fish_expected: |
  > crazy-complete-test log:
zsh_expected: |
  > crazy-complete-test log:
---
number: 120
definition_file: "complex"
description: "complex: Check log:"
send: "crazy-complete-test log:"
bash_expected: |
  > crazy-complete-test log:
  format  level
  > crazy-complete-test log:
fish_expected: |
  > crazy-complete-test log:
  log:format=  (specify output format)  log:level=  (specify log level)
zsh_expected: |
  > crazy-complete-test log:
  format  -- specify output format
  level   -- specify log level
---
number: 121
definition_file: "complex"
description: "complex: Check log:l"
send: "crazy-complete-test log:l"
bash_expected: |
  > crazy-complete-test log:level
fish_expected: |
  > crazy-complete-test log:level=
zsh_expected: |
  > crazy-complete-test log:level=
---
number: 122
definition_file: "complex"
description: "complex: Check log:level="
send: "crazy-complete-test log:level="
bash_expected: |
  > crazy-complete-test log:level=
  debug  error  info   warn
  > crazy-complete-test log:level=
fish_expected: |
  > crazy-complete-test log:level=
  …og:level=debug  …og:level=error  …og:level=info  …og:level=warn
zsh_expected: |
  > crazy-complete-test log:level=
  debug  error  info   warn
---
number: 123
definition_file: "complex"
description: "complex: Check log:level=w"
send: "crazy-complete-test log:level=w"
bash_expected: |
  > crazy-complete-test log:level=warn
fish_expected: |
  > crazy-complete-test log:level=warn
zsh_expected: |
  > crazy-complete-test log:level=warn,
---
number: 124
definition_file: "complex"
description: "complex: Check log:level=warn o"
send: "crazy-complete-test log:level=warn o"
bash_expected: |
  > crazy-complete-test log:level=warn output:
fish_expected: |
  > crazy-complete-test log:level=warn output:
zsh_expected: |
  > crazy-complete-test log:level=warn output:
---
number: 125
definition_file: "choices"
description: "Check if nosort is respected (long option)"
send: "crazy-complete-test --choices-no-sort "
bash_expected: |
  > crazy-complete-test --choices-no-sort
  3  1  2
  > crazy-complete-test --choices-no-sort
fish_expected: |
  > crazy-complete-test --choices-no-sort
  3  1  2
zsh_expected: |
  > crazy-complete-test --choices-no-sort
  3  1  2
---
number: 126
definition_file: "choices"
description: "Check if nosort is respected (old option)"
send: "crazy-complete-test -choices-no-sort "
bash_expected: |
  > crazy-complete-test -choices-no-sort
  3  1  2
  > crazy-complete-test -choices-no-sort
fish_expected: |
  > crazy-complete-test -choices-no-sort
  3  1  2
zsh_expected: |
  > crazy-complete-test -choices-no-sort
  3  1  2
---
number: 127
definition_file: "choices"
description: "Check if nosort is respected (short option)"
send: "crazy-complete-test -n "
bash_expected: |
  > crazy-complete-test -n
  3  1  2
  > crazy-complete-test -n
fish_expected: |
  > crazy-complete-test -n
  3  1  2
zsh_expected: |
  > crazy-complete-test -n
  3  1  2
---
number: 128
definition_file: "choices"
description: "Check if nosort is respected (positional)"
send: "crazy-complete-test "
bash_expected: |
  > crazy-complete-test
  3  1  2
  > crazy-complete-test
fish_expected: |
  > crazy-complete-test
  3  1  2
zsh_expected: |
  > crazy-complete-test
  3  1  2
---
number: 129
definition_file: "filedir"
description: "Check --directory-relative"
send: "crazy-complete-test --directory-relative "
bash_expected: |
  > crazy-complete-test --directory-relative
  bin        directory
  > crazy-complete-test --directory-relative
fish_expected: |
  > crazy-complete-test --directory-relative
  bin/  directory/
zsh_expected: |
  > crazy-complete-test --directory-relative
  bin/        directory/
---
number: 130
definition_file: "filedir"
description: "Check --file-relative"
send: "crazy-complete-test --file-relative "
bash_expected: |
  > crazy-complete-test --file-relative
  README.md         file with spaces  file4.txt.1       source.c++
  archive.tar.gz    file0.txt         image0.jpg
  bin               file1.TXT         image1.JPG
  directory         file3.tXt         image2.jPg
  > crazy-complete-test --file-relative
fish_expected: |
  > crazy-complete-test --file-relative
  archive.tar.gz  file with spaces  file3.tXt    image1.JPG  source.c++
  bin/            file0.txt         file4.txt.1  image2.jPg
  directory/      file1.TXT         image0.jpg   README.md
zsh_expected: |
  > crazy-complete-test --file-relative
  README.md           file\ with\ spaces  file4.txt.1         source.c++
  archive.tar.gz      file0.txt           image0.jpg
  bin/                file1.TXT           image1.JPG
  directory/          file3.tXt           image2.jPg
---
number: 131
definition_file: "filedir"
description: "Check --file-ignore-txt-cpp"
send: "crazy-complete-test --file-ignore-txt-cpp "
bash_expected: |
  > crazy-complete-test --file-ignore-txt-cpp
  README.md         directory         image0.jpg
  archive.tar.gz    file with spaces  image1.JPG
  bin               file4.txt.1       image2.jPg
  > crazy-complete-test --file-ignore-txt-cpp
fish_expected: |
  > crazy-complete-test --file-ignore-txt-cpp
  archive.tar.gz  directory/        file4.txt.1  image1.JPG  README.md
  bin/            file with spaces  image0.jpg   image2.jPg
zsh_expected: |
  > crazy-complete-test --file-ignore-txt-cpp
  README.md           directory/          image0.jpg
  archive.tar.gz      file\ with\ spaces  image1.JPG
  bin/                file4.txt.1         image2.jPg
---
number: 132
definition_file: "filedir"
description: "Check --file-ignore-txt-cpp-2"
send: "crazy-complete-test --file-ignore-txt-cpp-2 "
bash_expected: |
  > crazy-complete-test --file-ignore-txt-cpp-2
  README.md         directory         image0.jpg
  archive.tar.gz    file with spaces  image1.JPG
  bin               file4.txt.1       image2.jPg
  > crazy-complete-test --file-ignore-txt-cpp-2
fish_expected: |
  > crazy-complete-test --file-ignore-txt-cpp-2
  archive.tar.gz  directory/        file4.txt.1  image1.JPG  README.md
  bin/            file with spaces  image0.jpg   image2.jPg
zsh_expected: |
  > crazy-complete-test --file-ignore-txt-cpp-2
  README.md           directory/          image0.jpg
  archive.tar.gz      file\ with\ spaces  image1.JPG
  bin/                file4.txt.1         image2.jPg
---
number: 133
definition_file: "when"
description: "Check with no options"
send: "crazy-complete-test --"
bash_expected: |
  > crazy-complete-test --
  --if-not-1           --option-1
  --if-not-1-or-not-2  --option-2
  > crazy-complete-test --
fish_expected: |
  > crazy-complete-test --
  --if-not-1  --if-not-1-or-not-2  --option-1  --option-2
zsh_expected: |
  > crazy-complete-test --
  --if-not-1           --option-1
  --if-not-1-or-not-2  --option-2
---
number: 134
definition_file: "when"
description: "Check with no --option-1"
send: "crazy-complete-test --option-1 --"
bash_expected: |
  > crazy-complete-test --option-1 --
  --if-1-or-2  --option-2
  > crazy-complete-test --option-1 --
fish_expected: |
  > crazy-complete-test --option-1 --
  --if-1-or-2  --option-2
zsh_expected: |
  > crazy-complete-test --option-1 --
  --if-1-or-2  --option-2
---
number: 135
definition_file: "when"
description: "Check with no --option-2"
send: "crazy-complete-test --option-2 --"
bash_expected: |
  > crazy-complete-test --option-2 --
  --if-1-or-2  --if-not-1   --option-1
  > crazy-complete-test --option-2 --
fish_expected: |
  > crazy-complete-test --option-2 --
  --if-1-or-2  --if-not-1  --option-1
zsh_expected: |
  > crazy-complete-test --option-2 --
  --if-1-or-2  --if-not-1   --option-1
---
number: 136
definition_file: "when"
description: "Check with no --option-1 and --option-2"
send: "crazy-complete-test --option-1 --option-2 --"
bash_expected: |
  > crazy-complete-test --option-1 --option-2 --
  --if-1-and-2  --if-1-or-2
  > crazy-complete-test --option-1 --option-2 --if-1-
fish_expected: |
  > crazy-complete-test --option-1 --option-2 --if-1-
  --if-1-and-2  --if-1-or-2
zsh_expected: |
  > crazy-complete-test --option-1 --option-2 --if-1--2
---
number: 137
definition_file: "when"
description: "Check special-values without options"
send: "crazy-complete-test special-values --"
bash_expected: |
  > crazy-complete-test special-values --arg=
fish_expected: |
  > crazy-complete-test special-values --arg
zsh_expected: |
  > crazy-complete-test special-values --arg=
---
number: 138
definition_file: "when"
description: "Check special-values with --arg='foo bar'"
send: "crazy-complete-test special-values --arg='foo bar' --"
bash_expected: |
  > crazy-complete-test special-values --arg='foo bar' --if-arg-is-foo-bar
fish_expected: |
  > crazy-complete-test special-values --arg='foo bar' --if-arg-is-foo-bar
zsh_expected: |
  > crazy-complete-test special-values --arg='foo bar' --if-arg-is-foo-bar
---
number: 139
definition_file: "when"
description: "Check special-values with --arg='\"'"
send: "crazy-complete-test special-values --arg='\"' --"
bash_expected: |
  > crazy-complete-test special-values --arg='"' --if-arg-is-double-quote
fish_expected: |
  > crazy-complete-test special-values --arg='"' --if-arg-is-double-quote
zsh_expected: |
  > crazy-complete-test special-values --arg='"' --if-arg-is-double-quote
---
number: 140
definition_file: "when"
description: "Check special-values with --arg=\"'\""
send: "crazy-complete-test special-values --arg=\"'\" --"
bash_expected: |
  > crazy-complete-test special-values --arg="'" --if-arg-is-single-quote
fish_expected: |
  > crazy-complete-test special-values --arg="'" --if-arg-is-single-quote
zsh_expected: |
  > crazy-complete-test special-values --arg="'" --if-arg-is-single-quote
---
number: 141
definition_file: "long_opt_arg_sep"
description: "Check long_opt_arg_sep (both)"
send: "crazy-complete-test --both"
bash_expected: |
  > crazy-complete-test --both=
fish_expected: |
  > crazy-complete-test --both
zsh_expected: |
  > crazy-complete-test --both=
---
number: 142
definition_file: "long_opt_arg_sep"
description: "Check long_opt_arg_sep (equals)"
send: "crazy-complete-test --equals"
bash_expected: |
  > crazy-complete-test --equals=
fish_expected: |
  > crazy-complete-test --equals
zsh_expected: |
  > crazy-complete-test --equals=
---
number: 143
definition_file: "long_opt_arg_sep"
description: "Check long_opt_arg_sep (space)"
send: "crazy-complete-test --space"
bash_expected: |
  > crazy-complete-test --space
fish_expected: |
  > crazy-complete-test --space
zsh_expected: |
  > crazy-complete-test --space