summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2016-07-27 23:53:16 +0100
committerMaxime Coste <frrrwww@gmail.com>2016-07-27 23:53:16 +0100
commit623fcd88ea57bbaa8458b0529efe22caf14f1ed0 (patch)
tree6079d64dabc47555734f94871ab95d03e0b5856a /test
parent14198fadb408e7a49bf1180174184aa2bdfbc669 (diff)
Do not avoid end of lines after selecting modified ranges in undo
Fixes #751
Diffstat (limited to 'test')
-rw-r--r--test/regression/751-wrong-selection-after-undo/cmd1
-rw-r--r--test/regression/751-wrong-selection-after-undo/in3
-rw-r--r--test/regression/751-wrong-selection-after-undo/selections3
3 files changed, 7 insertions, 0 deletions
diff --git a/test/regression/751-wrong-selection-after-undo/cmd b/test/regression/751-wrong-selection-after-undo/cmd
new file mode 100644
index 00000000..a43f0dd7
--- /dev/null
+++ b/test/regression/751-wrong-selection-after-undo/cmd
@@ -0,0 +1 @@
+mS\d+<ret>du
diff --git a/test/regression/751-wrong-selection-after-undo/in b/test/regression/751-wrong-selection-after-undo/in
new file mode 100644
index 00000000..e7159c3e
--- /dev/null
+++ b/test/regression/751-wrong-selection-after-undo/in
@@ -0,0 +1,3 @@
+{
+11, 22
+};
diff --git a/test/regression/751-wrong-selection-after-undo/selections b/test/regression/751-wrong-selection-after-undo/selections
new file mode 100644
index 00000000..da9a2398
--- /dev/null
+++ b/test/regression/751-wrong-selection-after-undo/selections
@@ -0,0 +1,3 @@
+{
+:, :
+}