diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-12-01 11:02:23 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-12-01 11:02:23 +0000 |
commit | 4f501171f7ba8fe3d24c7e5bf5fcec5b5f246df1 (patch) | |
tree | d77b4edcaf2465d5e81a9dfdaba426c83a637091 /src/testdir/test_channel.vim | |
parent | 3b8c7083b265c35861a7f96b01c079471ff45152 (diff) |
patch 9.0.0979: ch_log() text can be hard to find in the log filev9.0.0979
Problem: ch_log() text can be hard to find in the log file.
Solution: Prepend "ch_log()" to the text.
Diffstat (limited to 'src/testdir/test_channel.vim')
-rw-r--r-- | src/testdir/test_channel.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testdir/test_channel.vim b/src/testdir/test_channel.vim index a99497d08e..438db8e196 100644 --- a/src/testdir/test_channel.vim +++ b/src/testdir/test_channel.vim @@ -2293,7 +2293,8 @@ func Test_zz_ch_log() call ch_log('%s%s') call ch_logfile('') let text = readfile('Xlog') - call assert_match("hello there", text[1]) + call assert_match("start log session", text[0]) + call assert_match("ch_log(): hello there", text[1]) call assert_match("%s%s", text[2]) call mkdir("Xchlogdir1", 'D') call assert_fails("call ch_logfile('Xchlogdir1')", 'E484:') |