mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 15:00:06 +08:00
23 lines
413 B
Plaintext
23 lines
413 B
Plaintext
|
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
|