mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 06:41:14 -03:00
Port most of the invocation tests to littlecheck
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.
This commit is contained in:
2
tests/checks/features-string-backslashes-off.fish
Normal file
2
tests/checks/features-string-backslashes-off.fish
Normal file
@@ -0,0 +1,2 @@
|
||||
#RUN: %fish --features 'no-string-replace-fewer-backslashes' -C 'string replace -ra "\\\\" "\\\\\\\\" -- "a\b\c"'
|
||||
# CHECK: a\b\c
|
||||
Reference in New Issue
Block a user