mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-02 13:51:12 -03:00
[tests] added test for escaped job summary
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user