summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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