From f84b1993ec706919340ad82b956c3e446616cce7 Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Fri, 24 May 2024 18:03:42 -0500 Subject: [PATCH] Add `path basename -E` tests --- tests/checks/path.fish | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/checks/path.fish b/tests/checks/path.fish index f8c326acc..62812571a 100644 --- a/tests/checks/path.fish +++ b/tests/checks/path.fish @@ -318,5 +318,10 @@ path basename -Z foo bar baz | path sort # CHECK: baz # CHECK: foo +path basename -E foo.txt /usr/local/foo.bar /foo.tar.gz +# CHECK: foo +# CHECK: foo +# CHECK: foo.tar + path basename --null-out bar baz | string escape # CHECK: bar\x00baz\x00