diff options
Diffstat (limited to '.local/src/blesh/lib/test-edit.sh')
-rw-r--r-- | .local/src/blesh/lib/test-edit.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.local/src/blesh/lib/test-edit.sh b/.local/src/blesh/lib/test-edit.sh new file mode 100644 index 0000000..f9d8211 --- /dev/null +++ b/.local/src/blesh/lib/test-edit.sh @@ -0,0 +1,8 @@ +# this script is a part of blesh (https://github.com/akinomyoga/ble.sh) under BSD-3-Clause license +ble-import lib/core-test +ble/test/start-section 'ble/edit' 2 +( + ble/test "_ble_edit_str=$'echo\nhello\nworld' ble-edit/content/find-logical-eol 13 -1" exit=0 ret=10 + ble/test "_ble_edit_str=$'echo\nhello\nworld' ble-edit/content/find-logical-bol 13 -1" exit=0 ret=5 +) +ble/test/end-section |