summaryrefslogtreecommitdiff
path: root/src/testing.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-01 14:19:49 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-01 14:19:49 +0000
commit460ae5dfca31fa627531c263184849976755cf6b (patch)
treed94de6a24285bc10fd62ad4ae9aecb53f9a7e913 /src/testing.c
parentb37a65e4bf08c4eec4fa5b81a5efc3945fca44de (diff)
downloadvim-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.c4
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
{