diff options
author | Dundar Goc <gocdundar@gmail.com> | 2022-05-01 11:18:17 +0200 |
---|---|---|
committer | Dundar Goc <gocdundar@gmail.com> | 2022-05-03 10:33:40 +0200 |
commit | b9bdd0f61e5e7365c07aadbc3f796556b6d85fdf (patch) | |
tree | 807bb0bcb4a551285e7c1f739b1b201d49d58261 /src/nvim/testing.c | |
parent | 46734cf7c1e5abe8e452354db6914364bfe89f0d (diff) | |
download | rneovim-b9bdd0f61e5e7365c07aadbc3f796556b6d85fdf.tar.gz rneovim-b9bdd0f61e5e7365c07aadbc3f796556b6d85fdf.tar.bz2 rneovim-b9bdd0f61e5e7365c07aadbc3f796556b6d85fdf.zip |
refactor: replace char_u variables and functions with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/testing.c')
-rw-r--r-- | src/nvim/testing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testing.c b/src/nvim/testing.c index f0b84c0eab..07e1fe424b 100644 --- a/src/nvim/testing.c +++ b/src/nvim/testing.c @@ -178,7 +178,7 @@ static int assert_match_common(typval_T *argvars, assert_type_T atype) if (pat == NULL || text == NULL) { emsg(_(e_invarg)); - } else if (pattern_match((char_u *)pat, (char_u *)text, false) + } else if (pattern_match((char *)pat, (char *)text, false) != (atype == ASSERT_MATCH)) { garray_T ga; prepare_assert_error(&ga); |