fish-shell/tests/checks/features-ampersand-nobg-in-token1.fish
Johannes Altmanninger a2b30053dc Teach fish_indent about our feature flags
So it can handle syntax changes that call for different formatting.
2021-07-23 22:58:51 +02:00

16 lines
309 B
Fish

#RUN: %fish --features=ampersand-nobg-in-token -C 'set -g fish_indent %fish_indent' %s
echo no&background
# CHECK: no&background
echo background&
# CHECK: background
echo background &
# CHECK: background
wait
echo no&bg | fish_features=ampersand-nobg-in-token $fish_indent --check
echo $status #CHECK: 0