aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_increment.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/testdir/test_increment.in')
-rw-r--r--src/nvim/testdir/test_increment.in23
1 files changed, 22 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_increment.in b/src/nvim/testdir/test_increment.in
index ecbc6f99a1..2ae6b8a563 100644
--- a/src/nvim/testdir/test_increment.in
+++ b/src/nvim/testdir/test_increment.in
@@ -277,7 +277,15 @@ Text:
Expected:
1) <Ctrl-a> and cursor is on a
b
-
+
+21) block-wise increment on part of hexadecimal
+Text:
+0x123456
+
+ Expected:
+ 1) Ctrl-V f3 <ctrl-a>
+0x124456
+
STARTTEST
@@ -401,6 +409,12 @@ V3kg..
:.put =col('.')
:set nrformats&vim
+:" Test 21
+:/^S21=/+,/^E21=/-y a
+:/^E21=/+put a
+:set nrformats&vim
+f3
+
:" Save the report
:/^# Test 1/,$w! test.out
:qa!
@@ -594,6 +608,13 @@ E20====
+# Test 21
+S21====
+0x123456
+E21====
+
+
+
ENDTEST