From 11754d3c6451288fc06d85fb2f6e85552336010e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 1 Feb 2017 18:32:57 +0100 Subject: Add regression tests for recently fixed bugs --- vim/motions/goto.in | 3 +++ vim/motions/goto.keys | 6 ++++++ vim/operators/change/change.in | 2 ++ vim/operators/change/change.keys | 2 ++ vim/operators/openline/openline.in | 3 +++ vim/operators/openline/openline.keys | 8 ++++++++ vim/operators/put/visual.in | 2 ++ vim/operators/put/visual.keys | 3 +++ vim/text-objects/words.in | 2 ++ vim/text-objects/words.keys | 1 + vis/structural-regex/addresses/marks.in | 1 + vis/structural-regex/addresses/marks.keys | 6 ++++++ vis/structural-regex/addresses/marks.ref | 1 + 13 files changed, 40 insertions(+) create mode 100644 vim/motions/goto.in create mode 100644 vim/motions/goto.keys create mode 100644 vim/operators/openline/openline.in create mode 100644 vim/operators/openline/openline.keys create mode 100644 vim/operators/put/visual.in create mode 100644 vim/operators/put/visual.keys create mode 100644 vim/text-objects/words.in create mode 100644 vim/text-objects/words.keys create mode 100644 vis/structural-regex/addresses/marks.in create mode 100644 vis/structural-regex/addresses/marks.keys create mode 100644 vis/structural-regex/addresses/marks.ref diff --git a/vim/motions/goto.in b/vim/motions/goto.in new file mode 100644 index 0000000..01e79c3 --- /dev/null +++ b/vim/motions/goto.in @@ -0,0 +1,3 @@ +1 +2 +3 diff --git a/vim/motions/goto.keys b/vim/motions/goto.keys new file mode 100644 index 0000000..ad766ba --- /dev/null +++ b/vim/motions/goto.keys @@ -0,0 +1,6 @@ +0G +olast line +gg +Ofirst line +3G +c$middle line diff --git a/vim/operators/change/change.in b/vim/operators/change/change.in index 3b18e51..5459db4 100644 --- a/vim/operators/change/change.in +++ b/vim/operators/change/change.in @@ -1 +1,3 @@ hello world +hello world +Bye! diff --git a/vim/operators/change/change.keys b/vim/operators/change/change.keys index d9f8937..db3a7ac 100644 --- a/vim/operators/change/change.keys +++ b/vim/operators/change/change.keys @@ -1 +1,3 @@ cwfoow. +2G +ccbar bar. diff --git a/vim/operators/openline/openline.in b/vim/operators/openline/openline.in new file mode 100644 index 0000000..b698034 --- /dev/null +++ b/vim/operators/openline/openline.in @@ -0,0 +1,3 @@ +=== +--- +=== diff --git a/vim/operators/openline/openline.keys b/vim/operators/openline/openline.keys new file mode 100644 index 0000000..4be0fe0 --- /dev/null +++ b/vim/operators/openline/openline.keys @@ -0,0 +1,8 @@ +2Obefore +2/=== +3. +gg +n +2oafter +n +3. diff --git a/vim/operators/put/visual.in b/vim/operators/put/visual.in new file mode 100644 index 0000000..912aa1d --- /dev/null +++ b/vim/operators/put/visual.in @@ -0,0 +1,2 @@ +longword +short diff --git a/vim/operators/put/visual.keys b/vim/operators/put/visual.keys new file mode 100644 index 0000000..b30aa85 --- /dev/null +++ b/vim/operators/put/visual.keys @@ -0,0 +1,3 @@ +yejvep +anewline + diff --git a/vim/text-objects/words.in b/vim/text-objects/words.in new file mode 100644 index 0000000..422c2b7 --- /dev/null +++ b/vim/text-objects/words.in @@ -0,0 +1,2 @@ +a +b diff --git a/vim/text-objects/words.keys b/vim/text-objects/words.keys new file mode 100644 index 0000000..353f4b3 --- /dev/null +++ b/vim/text-objects/words.keys @@ -0,0 +1 @@ +viwc- \ No newline at end of file diff --git a/vis/structural-regex/addresses/marks.in b/vis/structural-regex/addresses/marks.in new file mode 100644 index 0000000..2fe6575 --- /dev/null +++ b/vis/structural-regex/addresses/marks.in @@ -0,0 +1 @@ +The quick brown fox jumps over the lazy dog. diff --git a/vis/structural-regex/addresses/marks.keys b/vis/structural-regex/addresses/marks.keys new file mode 100644 index 0000000..1ef1075 --- /dev/null +++ b/vis/structural-regex/addresses/marks.keys @@ -0,0 +1,6 @@ +:'a,'b { i/>/ a/ +fq +ma +el +mb +: diff --git a/vis/structural-regex/addresses/marks.ref b/vis/structural-regex/addresses/marks.ref new file mode 100644 index 0000000..df68a3b --- /dev/null +++ b/vis/structural-regex/addresses/marks.ref @@ -0,0 +1 @@ +The >quick< brown fox jumps over the lazy dog. -- cgit v1.2.3