From e7711e37e4a85338a4717ca5791940bc64878afb Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Wed, 21 Apr 2021 21:58:08 +0000 Subject: [PATCH] unposted (cf. 48156): New test. --- ChangeLog | 2 ++ Test/Z02zmathfunc.ztst | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index d6fd08e48..ac4c95c84 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2021-04-21 Daniel Shahaf + * unposted (cf. 48156): Test/Z02zmathfunc.ztst: New test. + * users/26635 (tweaked): Functions/VCS_Info/Backends/VCS_INFO_get_data_hg: vcs_info hg: Compute the branch name correctly when get-revision is set and diff --git a/Test/Z02zmathfunc.ztst b/Test/Z02zmathfunc.ztst index 343c10563..05e28c07a 100644 --- a/Test/Z02zmathfunc.ztst +++ b/Test/Z02zmathfunc.ztst @@ -43,5 +43,10 @@ 1:error test for max() ?(eval):1: wrong number of arguments: max() + zsh_math_func_min "foo bar" x y z +2dDf:check errors from an unsupported use-case (workers/48156) +F:Calling zsh_math_func_min directly isn't a supported use-case, but if it +F:returns zero, something's probably wrong. + %clean