mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 19:41:15 -03:00
Add path basename -E tests
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user