about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2021-04-21 21:58:08 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2021-04-21 22:01:20 +0000
commite7711e37e4a85338a4717ca5791940bc64878afb (patch)
tree3af742b23507c0db1d48807ea0dcd0cfa3780d4f
parent9353b12e99827b29b224e5860bcb94636558d01a (diff)
downloadzsh-e7711e37e4a85338a4717ca5791940bc64878afb.tar.gz
zsh-e7711e37e4a85338a4717ca5791940bc64878afb.tar.xz
zsh-e7711e37e4a85338a4717ca5791940bc64878afb.zip
unposted (cf. 48156): New test.
-rw-r--r--ChangeLog2
-rw-r--r--Test/Z02zmathfunc.ztst5
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d6fd08e48..ac4c95c84 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2021-04-21  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
+	* 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