diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-01 14:19:49 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-01 14:19:49 +0000 |
commit | 460ae5dfca31fa627531c263184849976755cf6b (patch) | |
tree | d94de6a24285bc10fd62ad4ae9aecb53f9a7e913 /src/testing.c | |
parent | b37a65e4bf08c4eec4fa5b81a5efc3945fca44de (diff) | |
download | vim-git-460ae5dfca31fa627531c263184849976755cf6b.tar.gz |
patch 8.2.3967: error messages are spread outv8.2.3967
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
Diffstat (limited to 'src/testing.c')
-rw-r--r-- | src/testing.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testing.c b/src/testing.c index 782d35c5a..f401863ad 100644 --- a/src/testing.c +++ b/src/testing.c @@ -433,7 +433,7 @@ assert_equalfile(typval_T *argvars) fd1 = mch_fopen((char *)fname1, READBIN); if (fd1 == NULL) { - vim_snprintf((char *)IObuff, IOSIZE, (char *)e_notread, fname1); + vim_snprintf((char *)IObuff, IOSIZE, (char *)e_cant_read_file_str, fname1); } else { @@ -441,7 +441,7 @@ assert_equalfile(typval_T *argvars) if (fd2 == NULL) { fclose(fd1); - vim_snprintf((char *)IObuff, IOSIZE, (char *)e_notread, fname2); + vim_snprintf((char *)IObuff, IOSIZE, (char *)e_cant_read_file_str, fname2); } else { |