mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-27 12:11:15 -03:00
tests __fish_posix_shell: inline a variable
`command -v $(foo)` is actually allowed, unlike `command $(foo)`.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
# RUN: %fish %s
|
||||
|
||||
set -l sh (__fish_posix_shell)
|
||||
command -v $sh
|
||||
command -v (__fish_posix_shell)
|
||||
# CHECK: {{.*/sh}}
|
||||
|
||||
Reference in New Issue
Block a user