mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 09:26:30 +00:00
test: Remove indeterminism in job_spec.lua pty tests
This commit is contained in:
@@ -338,7 +338,7 @@ describe('jobs', function()
|
||||
data[i] = data[i]:gsub('\n', '\000')
|
||||
end
|
||||
rv = table.concat(data, '\n')
|
||||
rv = rv:gsub('\r\n$', '')
|
||||
rv = rv:gsub('\r\n$', ''):gsub('^\r\n', '')
|
||||
if rv ~= '' then
|
||||
break
|
||||
end
|
||||
|
Reference in New Issue
Block a user