aboutsummaryrefslogtreecommitdiff
path: root/vim/bundle/vim-table-mode/t/utils.vim
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-06-30 16:11:56 +0200
committerKarel Kočí <cynerd@email.cz>2016-06-30 16:11:56 +0200
commit9931e0888b2419326ae10ebbfae532261c5c125f (patch)
tree7504be5daccbb7b7d1ea396754de47b11ed790e5 /vim/bundle/vim-table-mode/t/utils.vim
parente573b3020c032400eed60b649a2cbf55266e6bb0 (diff)
downloadmyconfigs-9931e0888b2419326ae10ebbfae532261c5c125f.tar.gz
myconfigs-9931e0888b2419326ae10ebbfae532261c5c125f.tar.bz2
myconfigs-9931e0888b2419326ae10ebbfae532261c5c125f.zip
Fix submodules
Diffstat (limited to 'vim/bundle/vim-table-mode/t/utils.vim')
m---------vim/bundle/vim-table-mode0
-rw-r--r--vim/bundle/vim-table-mode/t/utils.vim45
2 files changed, 0 insertions, 45 deletions
diff --git a/vim/bundle/vim-table-mode b/vim/bundle/vim-table-mode
new file mode 160000
+Subproject b613e39bd08ecebdb9b18100dae518050f49604
diff --git a/vim/bundle/vim-table-mode/t/utils.vim b/vim/bundle/vim-table-mode/t/utils.vim
deleted file mode 100644
index 3bfff19..0000000
--- a/vim/bundle/vim-table-mode/t/utils.vim
+++ /dev/null
@@ -1,45 +0,0 @@
-" vim: fdm=indent
-source t/config/options.vim
-
-describe 'utils'
- describe 'line'
- it 'should return the current line number'
- Expect tablemode#utils#line('.') == line('.')
- end
-
- it 'should return the line number itself if it is a number'
- Expect tablemode#utils#line(1) == 1
- end
- end
-
- describe 'strip'
- it 'should strip all initial or trailing whitespace from a string'
- let string = ' This is awesome '
- Expect tablemode#utils#strip(string) == 'This is awesome'
- end
- end
-
- describe 'strlen'
- it 'should return the length of a string correctly'
- let string = 'this is a test'
- Expect tablemode#utils#strlen(string) == 14
- end
-
- it 'should return the length of a unicode string correctly'
- let string = '測試 is good.'
- Expect tablemode#utils#strlen(string) == 11
- end
- end
-
- describe 'strdisplaywidth'
- it 'should return the display width of a string correctly'
- let string = 'this is a test'
- Expect tablemode#utils#StrDisplayWidth(string) == 14
- end
-
- it 'should return the display width of a unicode string correctly'
- let string = '測試 is good.'
- Expect tablemode#utils#StrDisplayWidth(string) == 13
- end
- end
-end