mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-28 20:34:07 +08:00
[tests] added test for escaped job summary
This commit is contained in:
parent
4a2c7e38d0
commit
3fbff14e9b
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 New Issue
Block a user