mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 05:53:59 +00:00
Update tests for change-extension's status
This commit is contained in:
parent
5c28473183
commit
de0a64a016
1 changed files with 3 additions and 3 deletions
|
@ -51,13 +51,13 @@ path change-extension '' ./foo.mp4
|
|||
# CHECK: ./foo
|
||||
path change-extension '' ../banana
|
||||
# CHECK: ../banana
|
||||
# but status 1, because there was no extension.
|
||||
# still status 0, because there was an argument
|
||||
echo $status
|
||||
# CHECK: 1
|
||||
# CHECK: 0
|
||||
path change-extension '' ~/.config
|
||||
# CHECK: {{.*}}/.config
|
||||
echo $status
|
||||
# CHECK: 1
|
||||
# CHECK: 0
|
||||
|
||||
path basename ./foo.mp4
|
||||
# CHECK: foo.mp4
|
||||
|
|
Loading…
Reference in a new issue