vim-sussify/test/tests.vader
2014-11-20 23:14:04 +01:00

31 lines
618 B
Plaintext

Before (check :Startify):
Startify
Execute (check options):
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
Do (open new buffer in insert mode via 'i'):
ifoo
Expect (only "foo"):
foo
Do (open new buffer in normal mode via 'e'):
eibar
Expect (only "bar"):
bar
Given:
quux
Do (quit startify buffer via 'q'):
q
Expect:
quux