mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 04:58:25 +08:00
9d5620c170
This is a bit weird sometimes, e.g. to test the return status (that fish actually *returns $status*), we use a #RUN line with %fish invoking %fish, so we can use the substitution. Still much nicer. The missing scripts are those that rely on config.
3 lines
129 B
Fish
3 lines
129 B
Fish
#RUN: %fish --features 'no-string-replace-fewer-backslashes' -C 'string replace -ra "\\\\" "\\\\\\\\" -- "a\b\c"'
|
|
# CHECK: a\b\c
|