mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 15:14:44 +00:00
[tests] added test for escaped job summary
(cherry picked from commit 3fbff14e9b
)
This commit is contained in:
parent
51d5764fb2
commit
2d1a6561e1
1 changed files with 11 additions and 0 deletions
11
tests/checks/jobs-are-escaped.fish
Normal file
11
tests/checks/jobs-are-escaped.fish
Normal file
|
@ -0,0 +1,11 @@
|
|||
# RUN: %fish %s
|
||||
|
||||
# Ensure that jobs are printed with new lines escaped
|
||||
|
||||
sleep \
|
||||
100 &
|
||||
|
||||
jobs
|
||||
#CHECK: Job Group{{.*}}
|
||||
# CHECK: 1{{.*\t}}sleep \\\n100 &
|
||||
kill %1
|
Loading…
Reference in a new issue