1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 09:20:06 +08:00
SpaceVim/bundle/vim-startify/test/feature/session.vader
2020-06-13 14:06:35 +08:00

23 lines
413 B
Plaintext
Vendored

Before:
enew!
Execute (:SSave foo | SClose):
edit include/testfile.txt
SSave foo
SClose
Do (q):
q
Expect (<blank>):
Execute (:SLoad foo):
SLoad foo
Expect (textfile.txt):
This is just a simple test file.
Foo, bar, quux.
Execute (Session: :SDelete! foo):
AssertEqual filereadable(g:startify_session_dir.'/foo'), 1
SDelete! foo
AssertEqual filereadable(g:startify_session_dir.'/foo'), 0