summaryrefslogtreecommitdiff
path: root/test/test_sandbox_execution.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_sandbox_execution.vader')
-rw-r--r--test/test_sandbox_execution.vader6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_sandbox_execution.vader b/test/test_sandbox_execution.vader
index dc0cb01c..7f4941fd 100644
--- a/test/test_sandbox_execution.vader
+++ b/test/test_sandbox_execution.vader
@@ -47,6 +47,12 @@ Execute(ALE shouldn't blow up when run from a sandbox):
sandbox call ale#Lint()
Execute(ALE shouldn't blow up if file cleanup happens in a sandbox):
+ " Make a call to an engine function first, so the function will be defined
+ " before we make the sandbox call.
+ "
+ " You are not allowed to define any functions in the sandbox.
+ call ale#engine#InitBufferInfo(3)
+
let g:ale_buffer_info[3] = {
\ 'temporary_file_list': ['/tmp/foo'],
\ 'temporary_directory_list': ['/tmp/bar'],