mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 18:21:16 -03:00
Update tests for change-extension's status
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user