summaryrefslogtreecommitdiff
path: root/test/normal
diff options
context:
space:
mode:
authorJohannes Altmanninger <aclopte@gmail.com>2022-12-03 19:23:24 +0100
committerJohannes Altmanninger <aclopte@gmail.com>2022-12-27 18:24:55 +0100
commit8e8c2fb46d418236918c0dbddad8e48ae9e4e20d (patch)
tree3069b42c46d3fb901a177f2afba56ea43480caf8 /test/normal
parent016e1be77fd34610cae082fd8d90e846ed8af28e (diff)
Add tests for selection undo
Diffstat (limited to 'test/normal')
-rw-r--r--test/normal/selection-undo/redo/cmd1
-rw-r--r--test/normal/selection-undo/redo/in4
-rw-r--r--test/normal/selection-undo/redo/out4
-rw-r--r--test/normal/selection-undo/redo/script2
-rw-r--r--test/normal/selection-undo/undo/cmd1
-rw-r--r--test/normal/selection-undo/undo/in4
-rw-r--r--test/normal/selection-undo/undo/out4
-rw-r--r--test/normal/selection-undo/undo/script2
8 files changed, 22 insertions, 0 deletions
diff --git a/test/normal/selection-undo/redo/cmd b/test/normal/selection-undo/redo/cmd
new file mode 100644
index 00000000..8b137891
--- /dev/null
+++ b/test/normal/selection-undo/redo/cmd
@@ -0,0 +1 @@
+
diff --git a/test/normal/selection-undo/redo/in b/test/normal/selection-undo/redo/in
new file mode 100644
index 00000000..94ebaf90
--- /dev/null
+++ b/test/normal/selection-undo/redo/in
@@ -0,0 +1,4 @@
+1
+2
+3
+4
diff --git a/test/normal/selection-undo/redo/out b/test/normal/selection-undo/redo/out
new file mode 100644
index 00000000..76bef247
--- /dev/null
+++ b/test/normal/selection-undo/redo/out
@@ -0,0 +1,4 @@
+1
+2
+here3
+4
diff --git a/test/normal/selection-undo/redo/script b/test/normal/selection-undo/redo/script
new file mode 100644
index 00000000..c92d82d7
--- /dev/null
+++ b/test/normal/selection-undo/redo/script
@@ -0,0 +1,2 @@
+ui_out -ignore 4
+ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "2jj<c-h><c-h><c-k>ihere<esc>" ] }'
diff --git a/test/normal/selection-undo/undo/cmd b/test/normal/selection-undo/undo/cmd
new file mode 100644
index 00000000..8b137891
--- /dev/null
+++ b/test/normal/selection-undo/undo/cmd
@@ -0,0 +1 @@
+
diff --git a/test/normal/selection-undo/undo/in b/test/normal/selection-undo/undo/in
new file mode 100644
index 00000000..94ebaf90
--- /dev/null
+++ b/test/normal/selection-undo/undo/in
@@ -0,0 +1,4 @@
+1
+2
+3
+4
diff --git a/test/normal/selection-undo/undo/out b/test/normal/selection-undo/undo/out
new file mode 100644
index 00000000..00a7e5fd
--- /dev/null
+++ b/test/normal/selection-undo/undo/out
@@ -0,0 +1,4 @@
+here1
+2
+3
+4
diff --git a/test/normal/selection-undo/undo/script b/test/normal/selection-undo/undo/script
new file mode 100644
index 00000000..2b00d75e
--- /dev/null
+++ b/test/normal/selection-undo/undo/script
@@ -0,0 +1,2 @@
+ui_out -ignore 4
+ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "j2j<c-h><c-h>ihere<esc>" ] }'