aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/function.err
diff options
context:
space:
mode:
Diffstat (limited to 'tests/function.err')
-rw-r--r--tests/function.err8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/function.err b/tests/function.err
index e69de29b..72671ac9 100644
--- a/tests/function.err
+++ b/tests/function.err
@@ -0,0 +1,8 @@
+function: function name shadows a builtin so you must use '--shadow-builtin'
+fish: function pwd; end
+ ^
+yes, it failed as expected
+function: function name does not shadow a builtin so you must not use '--shadow-builtin'
+fish: function not_builtin --shadow-builtin; end
+ ^
+yes, it failed as expected