fish-shell/tests/checks/line-continuation.fish
Johannes Altmanninger 1e858eae35 tests: filter control sequences only when interactive
This demonstrates that we only write control sequences when interactive.
2024-04-12 12:28:22 +02:00

27 lines
243 B
Fish

#RUN: %fish %s
ech\
o echo
#CHECK: echo
buil\
tin echo builtin echo
#CHECK: builtin echo
true; an\
d echo true
#CHECK: true
\i\
\U00000066\
true
echo if true
\145n\
d\
#CHECK: if true
'if'\
true
echo if true
end
#CHECK: if true