aboutsummaryrefslogtreecommitdiff
path: root/test/functional/core/job_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-02-09 22:04:33 +0100
committerJustin M. Keyes <justinkz@gmail.com>2025-02-10 18:56:11 +0100
commit4b0e2605eaf90268195029a29f10903dc82729e7 (patch)
tree76f735084431f5027cdfc90da43370af0f2d2477 /test/functional/core/job_spec.lua
parentad60b3fb4806c0917010bbe97876c22fb57cabcd (diff)
downloadrneovim-4b0e2605eaf90268195029a29f10903dc82729e7.tar.gz
rneovim-4b0e2605eaf90268195029a29f10903dc82729e7.tar.bz2
rneovim-4b0e2605eaf90268195029a29f10903dc82729e7.zip
feat(ui): UI :detach command
Problem: Cannot detach the current UI. Solution: - Introduce `:detach`. - Introduce `Channel.detach`. Co-authored-by: bfredl <bjorn.linse@gmail.com>
Diffstat (limited to 'test/functional/core/job_spec.lua')
-rw-r--r--test/functional/core/job_spec.lua16
1 files changed, 10 insertions, 6 deletions
diff --git a/test/functional/core/job_spec.lua b/test/functional/core/job_spec.lua
index e833b5127d..75e09f3455 100644
--- a/test/functional/core/job_spec.lua
+++ b/test/functional/core/job_spec.lua
@@ -1265,12 +1265,16 @@ describe('jobs', function()
]])
feed(':q<CR>')
- screen:expect([[
- |
- [Process exited 0]^ |
- |*4
- {3:-- TERMINAL --} |
- ]])
+ if is_os('freebsd') then
+ screen:expect { any = vim.pesc('[Process exited 0]') }
+ else
+ screen:expect([[
+ |
+ [Process exited 0]^ |
+ |*4
+ {3:-- TERMINAL --} |
+ ]])
+ end
end)
end)