mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-21 11:31:15 -03:00
fish_indent: Another crash
NUL at the end, which is now ignored. Not *great*, but better than crashing.
This commit is contained in:
@@ -446,3 +446,6 @@ echo b\|\{ | $fish_indent
|
||||
|
||||
echo "\'\\\\\x00\'" | string unescape | $fish_indent | string escape
|
||||
# CHECK: \'\\\x00\'
|
||||
|
||||
echo '\"\"\|\x00' | string unescape | $fish_indent | string unescape
|
||||
# CHECK: |
|
||||
|
||||
Reference in New Issue
Block a user