session.vader 374 B

123456789101112131415161718
  1. Execute (Session: :SSave foo):
  2. edit include/testfile.txt
  3. SSave foo
  4. SClose
  5. Do:
  6. e
  7. Expect:
  8. Execute (Session: :SLoad foo):
  9. silent SLoad foo
  10. Expect:
  11. This is just a simple test file.
  12. Foo, bar, quux.
  13. Execute (Session: :SDelete foo):
  14. Assert 1 == filereadable(g:startify_session_dir.'/foo')
  15. SDelete foo
  16. Assert 0 == filereadable(g:startify_session_dir.'/foo')