[Toybox] [PATCH] vi: fix dw_last test, add more tests
Jarno Mäkipää
jmakip87 at gmail.com
Sun Feb 2 05:46:22 PST 2020
(One test will fail, but next patch will fix it. git am will warn,
since some tests outputs contain escape char and lines ending with
spaces, tried to make patch with --binary flag but didint help. anyway
patch applied and worked for me on clean master)
Fixed delete last word test. (script should not have \n since it is
cursor down in vim)
Added tests to check inserts
Added tests to check yank and push
---
tests/files/vi/ascii_dw_last.out | 2 +-
tests/files/vi/ascii_insert_after_w.out | 4 +
tests/files/vi/ascii_insert_eof.out | 4 +
tests/files/vi/ascii_insert_multi.out | 4 +
tests/files/vi/ascii_insert_multi_yy_push.out | 5 ++
tests/files/vi/ascii_insert_sof.out | 4 +
tests/files/vi/ascii_yw_push.out | 4 +
tests/files/vi/dw_last.in | 5 +-
tests/files/vi/insert_after_w.in | 2 +
tests/files/vi/insert_eof.in | 2 +
tests/files/vi/insert_multi.in | 2 +
tests/files/vi/insert_multi_yy_push.in | 2 +
tests/files/vi/insert_sof.in | 2 +
tests/files/vi/yw_push.in | 3 +
tests/vi.test | 108 ++++++++++++++++++++------
15 files changed, 126 insertions(+), 27 deletions(-)
create mode 100644 tests/files/vi/ascii_insert_after_w.out
create mode 100644 tests/files/vi/ascii_insert_eof.out
create mode 100644 tests/files/vi/ascii_insert_multi.out
create mode 100644 tests/files/vi/ascii_insert_multi_yy_push.out
create mode 100644 tests/files/vi/ascii_insert_sof.out
create mode 100644 tests/files/vi/ascii_yw_push.out
create mode 100644 tests/files/vi/insert_after_w.in
create mode 100644 tests/files/vi/insert_eof.in
create mode 100644 tests/files/vi/insert_multi.in
create mode 100644 tests/files/vi/insert_multi_yy_push.in
create mode 100644 tests/files/vi/insert_sof.in
create mode 100644 tests/files/vi/yw_push.in
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-vi-fix-dw_last-test-add-more-tests.patch
Type: text/x-patch
Size: 9593 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20200202/72dcb116/attachment-0001.bin>
More information about the Toybox
mailing list