" Tests for the :source command. func Test_source_sandbox() new call writefile(["Ohello\"], 'Xsourcehello') source! Xsourcehello | echo call assert_equal('hello', getline(1)) call assert_fails('sandbox source! Xsourcehello', 'E48:') bwipe! endfunc