summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/normal/open-multiple-above/cmd1
-rw-r--r--test/normal/open-multiple-above/in1
-rw-r--r--test/normal/open-multiple-above/out4
-rw-r--r--test/normal/open-multiple-below/cmd1
-rw-r--r--test/normal/open-multiple-below/in1
-rw-r--r--test/normal/open-multiple-below/out4
-rw-r--r--test/regression/0-open-below-should-not-move-cursor-on-eol/cmd1
-rw-r--r--test/regression/0-open-below-should-not-move-cursor-on-eol/in1
-rw-r--r--test/regression/0-open-below-should-not-move-cursor-on-eol/out2
-rw-r--r--test/regression/0-open-below-should-not-move-cursor-on-eol/state1
10 files changed, 17 insertions, 0 deletions
diff --git a/test/normal/open-multiple-above/cmd b/test/normal/open-multiple-above/cmd
new file mode 100644
index 00000000..b07421f6
--- /dev/null
+++ b/test/normal/open-multiple-above/cmd
@@ -0,0 +1 @@
+3Obar<esc>
diff --git a/test/normal/open-multiple-above/in b/test/normal/open-multiple-above/in
new file mode 100644
index 00000000..257cc564
--- /dev/null
+++ b/test/normal/open-multiple-above/in
@@ -0,0 +1 @@
+foo
diff --git a/test/normal/open-multiple-above/out b/test/normal/open-multiple-above/out
new file mode 100644
index 00000000..de926059
--- /dev/null
+++ b/test/normal/open-multiple-above/out
@@ -0,0 +1,4 @@
+bar
+bar
+bar
+foo
diff --git a/test/normal/open-multiple-below/cmd b/test/normal/open-multiple-below/cmd
new file mode 100644
index 00000000..e4be15d6
--- /dev/null
+++ b/test/normal/open-multiple-below/cmd
@@ -0,0 +1 @@
+3obar<esc>
diff --git a/test/normal/open-multiple-below/in b/test/normal/open-multiple-below/in
new file mode 100644
index 00000000..257cc564
--- /dev/null
+++ b/test/normal/open-multiple-below/in
@@ -0,0 +1 @@
+foo
diff --git a/test/normal/open-multiple-below/out b/test/normal/open-multiple-below/out
new file mode 100644
index 00000000..1458786c
--- /dev/null
+++ b/test/normal/open-multiple-below/out
@@ -0,0 +1,4 @@
+foo
+bar
+bar
+bar
diff --git a/test/regression/0-open-below-should-not-move-cursor-on-eol/cmd b/test/regression/0-open-below-should-not-move-cursor-on-eol/cmd
new file mode 100644
index 00000000..f180a6b2
--- /dev/null
+++ b/test/regression/0-open-below-should-not-move-cursor-on-eol/cmd
@@ -0,0 +1 @@
+x;:exec -draft o<ret>
diff --git a/test/regression/0-open-below-should-not-move-cursor-on-eol/in b/test/regression/0-open-below-should-not-move-cursor-on-eol/in
new file mode 100644
index 00000000..257cc564
--- /dev/null
+++ b/test/regression/0-open-below-should-not-move-cursor-on-eol/in
@@ -0,0 +1 @@
+foo
diff --git a/test/regression/0-open-below-should-not-move-cursor-on-eol/out b/test/regression/0-open-below-should-not-move-cursor-on-eol/out
new file mode 100644
index 00000000..75d7bfb8
--- /dev/null
+++ b/test/regression/0-open-below-should-not-move-cursor-on-eol/out
@@ -0,0 +1,2 @@
+foo
+
diff --git a/test/regression/0-open-below-should-not-move-cursor-on-eol/state b/test/regression/0-open-below-should-not-move-cursor-on-eol/state
new file mode 100644
index 00000000..d022d3dd
--- /dev/null
+++ b/test/regression/0-open-below-should-not-move-cursor-on-eol/state
@@ -0,0 +1 @@
+1.4,1.4