diff options
Diffstat (limited to 'test/functional/legacy')
6 files changed, 7 insertions, 8 deletions
diff --git a/test/functional/legacy/006_argument_list_spec.lua b/test/functional/legacy/006_argument_list_spec.lua index 30fb9a55ff..1266a876d4 100644 --- a/test/functional/legacy/006_argument_list_spec.lua +++ b/test/functional/legacy/006_argument_list_spec.lua @@ -50,7 +50,7 @@ describe('argument list', function() execute('%d') execute('0put=@a') - execute('1d | $d') + execute('$d') eq(dedent([[ start of test file Xxx1 diff --git a/test/functional/legacy/007_ball_buffer_list_spec.lua b/test/functional/legacy/007_ball_buffer_list_spec.lua index 6d89323215..295f63f044 100644 --- a/test/functional/legacy/007_ball_buffer_list_spec.lua +++ b/test/functional/legacy/007_ball_buffer_list_spec.lua @@ -51,7 +51,7 @@ describe(':ball', function() execute('bf') execute('%d') execute('0put=@a') - execute('1d | $d') + execute('$d') expect([[ start of test file Xxx4 diff --git a/test/functional/legacy/021_control_wi_spec.lua b/test/functional/legacy/021_control_wi_spec.lua index f1f529e9a8..9fd83fec5f 100644 --- a/test/functional/legacy/021_control_wi_spec.lua +++ b/test/functional/legacy/021_control_wi_spec.lua @@ -31,7 +31,7 @@ describe('CTRL-W CTRL-I', function() -- Clean buffer and put register feed('ggdG"ap') - execute('1,2d') + execute('1d') -- The buffer should now contain: expect([[ diff --git a/test/functional/legacy/023_edit_arguments_spec.lua b/test/functional/legacy/023_edit_arguments_spec.lua index b5955c5987..e68af9758d 100644 --- a/test/functional/legacy/023_edit_arguments_spec.lua +++ b/test/functional/legacy/023_edit_arguments_spec.lua @@ -35,8 +35,8 @@ describe(':edit', function() execute('%d') execute('0put a') - -- Remove empty lines - execute('1d | $d') + -- Remove empty line + execute('$d') -- The buffer should now contain expect([[ diff --git a/test/functional/legacy/041_writing_and_reading_hundred_kbyte_spec.lua b/test/functional/legacy/041_writing_and_reading_hundred_kbyte_spec.lua index ed1a914c0f..42fb5ed2b3 100644 --- a/test/functional/legacy/041_writing_and_reading_hundred_kbyte_spec.lua +++ b/test/functional/legacy/041_writing_and_reading_hundred_kbyte_spec.lua @@ -25,7 +25,7 @@ describe('writing and reading a file of over 100 Kbyte', function() execute('6005yank A') execute('%d') execute('0put a') - execute('1d | $d') + execute('$d') execute('w!') expect([[ diff --git a/test/functional/legacy/options_spec.lua b/test/functional/legacy/options_spec.lua index 983d168609..773acb9663 100644 --- a/test/functional/legacy/options_spec.lua +++ b/test/functional/legacy/options_spec.lua @@ -2,11 +2,10 @@ -- other tests, so restart nvim in the teardown hook local helpers = require('test.functional.helpers') -local restart, command, clear = helpers.restart, helpers.command, helpers.clear +local command, clear = helpers.command, helpers.clear describe('options', function() setup(clear) - teardown(restart) it('is working', function() command('options') |