tests: filter control sequences only when interactive

This demonstrates that we only write control sequences when interactive.
This commit is contained in:
Johannes Altmanninger
2024-04-12 12:19:32 +02:00
parent 9158395d10
commit 1e858eae35
139 changed files with 167 additions and 163 deletions

View File

@@ -1,2 +1,2 @@
#RUN: %fish --features 'regex-easyesc' -C 'string replace -ra "\\\\" "\\\\\\\\" -- "a\b\c"' | %filter-ctrlseqs
#RUN: %fish --features 'regex-easyesc' -C 'string replace -ra "\\\\" "\\\\\\\\" -- "a\b\c"'
# CHECK: a\\b\\c