summaryrefslogtreecommitdiff
path: root/test/test_engine_invocation.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2019-02-13 17:56:10 +0000
committerw0rp <devw0rp@gmail.com>2019-02-13 17:56:10 +0000
commit3050a132b557497c43b45345c7f5f9297eb707cb (patch)
tree9ca5e060d5565d9ca5b2cd64d1b387c3babac18c /test/test_engine_invocation.vader
parent21a8b9f1e3ea21e8f41cd3bc7da691687d173b83 (diff)
downloadale-3050a132b557497c43b45345c7f5f9297eb707cb.zip
Remove ProcessChain code we do not need now
Diffstat (limited to 'test/test_engine_invocation.vader')
-rw-r--r--test/test_engine_invocation.vader34
1 files changed, 0 insertions, 34 deletions
diff --git a/test/test_engine_invocation.vader b/test/test_engine_invocation.vader
index b43fa448..af713953 100644
--- a/test/test_engine_invocation.vader
+++ b/test/test_engine_invocation.vader
@@ -67,40 +67,6 @@ Execute(Engine invocation should return the command for the fourth item correctl
AssertEqual 'fourth', g:result.command
AssertEqual 4, g:result.next_chain_index
-Execute(Engine invocation should return the command for a single callback correctly):
- unlet g:linter.command_chain
- let g:linter.command_callback = 'FirstChainFunction'
-
- let g:result = ProcessIndex(0)
-
- AssertEqual 'first', g:result.command
-
-Execute(Engine invocation should return the command for a command string correctly):
- unlet g:linter.command_chain
- let g:linter.command = 'foo bar'
-
- let g:result = ProcessIndex(0)
-
- AssertEqual 'foo bar', g:result.command
-
-Execute(Engine invocation should process read_buffer correctly for simple commands):
- unlet g:linter.command_chain
- let g:linter.command = 'foo bar'
- let g:linter.read_buffer = 0
-
- let g:result = ProcessIndex(0)
-
- AssertEqual 'foo bar', g:result.command
- AssertEqual 0, g:result.read_buffer
-
- let g:linter.command_callback = 'FirstChainFunction'
- unlet g:linter.command
-
- let g:result = ProcessIndex(0)
-
- AssertEqual 'first', g:result.command
- AssertEqual 0, g:result.read_buffer
-
Execute(Engine invocation should allow read_buffer to be enabled for a command in the middle of a chain):
let g:linter.command_chain[2].read_buffer = 1