mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 15:30:40 +08:00
Add path basename -E
tests
This commit is contained in:
parent
6091d1149f
commit
f84b1993ec
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user