summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_channel.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2023-01-28 19:19:03 +0000
committerBram Moolenaar <Bram@vim.org>2023-01-28 19:19:03 +0000
commit94722c510745a0cfd494c51625a514b92dd2bfb2 (patch)
treeed0153caea48396d88e9cd8f6d42bbaaa8076762 /src/testdir/test_channel.vim
parent04e4f1d98556e67d7337224b67b71c828410ee0f (diff)
patch 9.0.1257: code style is not check in test scriptsv9.0.1257
Problem: Code style is not check in test scripts. Solution: Add basic code style check for test files.
Diffstat (limited to 'src/testdir/test_channel.vim')
-rw-r--r--src/testdir/test_channel.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_channel.vim b/src/testdir/test_channel.vim
index 438db8e196..a6b25c9a78 100644
--- a/src/testdir/test_channel.vim
+++ b/src/testdir/test_channel.vim
@@ -20,7 +20,7 @@ endif
" call ch_logfile('channellog', 'w')
func SetUp()
- if g:testfunc =~ '_ipv6()$'
+ if g:testfunc =~ '_ipv6()$'
let s:localhost = '[::1]:'
let s:testscript = 'test_channel_6.py'
elseif g:testfunc =~ '_unix()$'
@@ -1220,7 +1220,7 @@ endfunc
func Test_pipe_to_buffer_raw()
let options = {'out_mode': 'raw', 'out_io': 'buffer', 'out_name': 'testout'}
split testout
- let job = job_start([s:python, '-c',
+ let job = job_start([s:python, '-c',
\ 'import sys; [sys.stdout.write(".") and sys.stdout.flush() for _ in range(10000)]'], options)
" the job may be done quickly, also accept "dead"
call assert_match('^\%(dead\|run\)$', job_status(job))