summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_xxd.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_xxd.vim')
-rw-r--r--src/testdir/test_xxd.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/testdir/test_xxd.vim b/src/testdir/test_xxd.vim
index 53e1a95c37..7a2771e033 100644
--- a/src/testdir/test_xxd.vim
+++ b/src/testdir/test_xxd.vim
@@ -373,6 +373,13 @@ func Test_xxd_revert_bit_dump()
bwipe!
endfunc
+func Test_xxd_roundtrip_large_bit_dump()
+ new
+ exe 'r! printf "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" | ' . s:xxd_cmd . ' -b | ' . s:xxd_cmd . ' -r -b'
+ call assert_match('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012345678', join(getline(1, 3)))
+ bwipe!
+endfunc
+
func Test_xxd_version()
new
exe 'r! ' . s:xxd_cmd . ' -v'