vim-sussify/test/tests.vader

31 lines
618 B
Plaintext
Raw Normal View History

2014-11-20 14:00:36 +00:00
Before (check :Startify):
2014-11-20 13:41:01 +00:00
Startify
2014-11-20 14:00:36 +00:00
Execute (check options):
2014-11-20 13:41:01 +00:00
AssertEqual 'startify', &filetype
AssertEqual 'wipe', &bufhidden
AssertEqual 'nofile', &buftype
AssertEqual 0, &buflisted
AssertEqual 0, &cursorcolumn
AssertEqual 0, &cursorline
AssertEqual 0, &list
AssertEqual 0, &number
AssertEqual 0, &swapfile
2014-11-20 14:00:36 +00:00
Do (open new buffer in insert mode via 'i'):
2014-11-20 13:41:01 +00:00
ifoo
Expect (only "foo"):
foo
2014-11-20 14:00:36 +00:00
Do (open new buffer in normal mode via 'e'):
2014-11-20 13:41:01 +00:00
eibar
Expect (only "bar"):
bar
2014-11-20 14:00:36 +00:00
Given:
quux
Do (quit startify buffer via 'q'):
2014-11-20 14:00:36 +00:00
q
Expect:
quux