Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Completion tests fail with patches to 11415



Bart Schaefer wrote:

> *** /tmp/zsh.ztst.out.26678     Tue May 16 09:36:31 2000
> --- /tmp/zsh.ztst.tout.26678    Tue May 16 09:36:33 2000
> ***************
> *** 1 ****
> ! line: {tst -x }{}
> --- 1,2 ----
> ! line: {tst -}{}
> ! MESSAGE:{arg}
> Test ../../zsh-3.1.6/Test/53completion.ztst failed: output differs from expected as shown above for:
>  code='compdef _tst tst; _tst () { _arguments "-x" ":arg:" }'
>  comptest -c "$code" $'tst -\t'
> Was testing: _arguments
> ../../zsh-3.1.6/Test/53completion.ztst: test failed.

That's caused by 11406. Humm.

What are we supposed to do now. With respect to the patch, this
behaviour is correct (and quite reasonable, I think). Should we only
update the test? Should we make _arguments not try default-option
completion only when it tried a *non-empty* action?

I think I prefer the former.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author