mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +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
|
# CHECK: ./foo
|
||||||
path change-extension '' ../banana
|
path change-extension '' ../banana
|
||||||
# CHECK: ../banana
|
# CHECK: ../banana
|
||||||
# but status 1, because there was no extension.
|
# still status 0, because there was an argument
|
||||||
echo $status
|
echo $status
|
||||||
# CHECK: 1
|
# CHECK: 0
|
||||||
path change-extension '' ~/.config
|
path change-extension '' ~/.config
|
||||||
# CHECK: {{.*}}/.config
|
# CHECK: {{.*}}/.config
|
||||||
echo $status
|
echo $status
|
||||||
# CHECK: 1
|
# CHECK: 0
|
||||||
|
|
||||||
path basename ./foo.mp4
|
path basename ./foo.mp4
|
||||||
# CHECK: foo.mp4
|
# CHECK: foo.mp4
|
||||||
|
|
Loading…
Reference in a new issue