Tests: add session.vader
This commit is contained in:
parent
9e296c31d9
commit
1c1c3abb80
7 changed files with 27 additions and 3 deletions
18
test/feature/session.vader
Normal file
18
test/feature/session.vader
Normal file
|
@ -0,0 +1,18 @@
|
|||
Execute (Session: :SSave foo):
|
||||
edit include/testfile.txt
|
||||
SSave foo
|
||||
SClose
|
||||
Do:
|
||||
e
|
||||
Expect:
|
||||
|
||||
Execute (Session: :SLoad foo):
|
||||
silent SLoad foo
|
||||
Expect:
|
||||
This is just a simple test file.
|
||||
Foo, bar, quux.
|
||||
|
||||
Execute (Session: :SDelete foo):
|
||||
Assert 1 == filereadable(g:startify_session_dir.'/foo')
|
||||
SDelete foo
|
||||
Assert 0 == filereadable(g:startify_session_dir.'/foo')
|
Loading…
Add table
Add a link
Reference in a new issue