Tests: improve formatting of output
This commit is contained in:
parent
826b0f03e0
commit
b0d90b1f76
4 changed files with 23 additions and 29 deletions
|
@ -1,18 +1,19 @@
|
|||
Execute (Session: :SSave foo):
|
||||
Execute (:SSave foo | SClose):
|
||||
edit include/testfile.txt
|
||||
SSave foo
|
||||
SClose
|
||||
Do:
|
||||
e
|
||||
Expect:
|
||||
Do (q):
|
||||
q
|
||||
Expect (<blank>):
|
||||
|
||||
Execute (Session: :SLoad foo):
|
||||
silent SLoad foo
|
||||
Expect:
|
||||
|
||||
Execute (:SLoad foo):
|
||||
SLoad foo
|
||||
Expect (textfile.txt):
|
||||
This is just a simple test file.
|
||||
Foo, bar, quux.
|
||||
|
||||
Execute (Session: :SDelete! foo):
|
||||
Assert 1 == filereadable(g:startify_session_dir.'/foo')
|
||||
AssertEqual filereadable(g:startify_session_dir.'/foo'), 1
|
||||
SDelete! foo
|
||||
Assert 0 == filereadable(g:startify_session_dir.'/foo')
|
||||
AssertEqual filereadable(g:startify_session_dir.'/foo'), 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue