Updated vim-flavor & tests

This commit is contained in:
Dhruva Sagar
2013-12-31 12:22:22 +05:30
parent 9935e57def
commit 1302782b55
2 changed files with 6 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ GEM
blankslate (~> 2.0) blankslate (~> 2.0)
rake (10.1.0) rake (10.1.0)
thor (0.18.1) thor (0.18.1)
vim-flavor (1.1.2) vim-flavor (1.1.3)
parslet (~> 1.0) parslet (~> 1.0)
thor (~> 0.14) thor (~> 0.14)

View File

@@ -52,6 +52,7 @@ describe 'tablemode'
describe 'API' describe 'API'
before before
new new
normal! ggdG
call tablemode#TableModeEnable() call tablemode#TableModeEnable()
normal i normal i
|test11|test12| |test11|test12|
@@ -131,6 +132,7 @@ describe 'tablemode'
end end
describe 'Tableize' describe 'Tableize'
before
new new
normal! ggdG normal! ggdG
normal i normal i
@@ -153,6 +155,7 @@ describe 'tablemode'
end end
end end
describe 'Motions'
describe 'left or right' describe 'left or right'
before before
new new
@@ -193,6 +196,7 @@ describe 'tablemode'
Expect tablemode#RowNr('.') == 2 Expect tablemode#RowNr('.') == 2
Expect tablemode#ColumnNr('.') == 1 Expect tablemode#ColumnNr('.') == 1
end end
end
describe 'up or down' describe 'up or down'
before before
@@ -228,7 +232,7 @@ describe 'tablemode'
call tablemode#TableMotion('k') call tablemode#TableMotion('k')
Expect tablemode#RowNr('.') == 1 Expect tablemode#RowNr('.') == 1
end end
end end
end end
describe 'Manipulations' describe 'Manipulations'