mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 06:41:14 -03:00
Move NUL-handling tests to their own file
This commit is contained in:
7
tests/checks/nuls.fish
Normal file
7
tests/checks/nuls.fish
Normal file
@@ -0,0 +1,7 @@
|
||||
#RUN: %fish %s
|
||||
# NUL-handling
|
||||
|
||||
echo foo\x00bar | string escape
|
||||
# CHECK: foo\x00bar
|
||||
echo foo\\x00bar | string escape
|
||||
# CHECK: foo\\x00bar
|
||||
@@ -955,8 +955,3 @@ string shorten -m0 foo bar asodjsaoidj
|
||||
# CHECK: foo
|
||||
# CHECK: bar
|
||||
# CHECK: asodjsaoidj
|
||||
|
||||
echo foo\x00bar | string escape
|
||||
# CHECK: foo\x00bar
|
||||
echo foo\\x00bar | string escape
|
||||
# CHECK: foo\\x00bar
|
||||
|
||||
Reference in New Issue
Block a user