mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 13:23:09 +00:00
Move NUL-handling tests to their own file
This commit is contained in:
parent
78940a6026
commit
41568eb2a8
2 changed files with 7 additions and 5 deletions
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
|
||||
|
|
Loading…
Reference in a new issue