diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-05-03 11:02:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-03 11:02:04 +0200 |
commit | 8ea84eee570fd1ec560fe149e611d10034d9a223 (patch) | |
tree | 807bb0bcb4a551285e7c1f739b1b201d49d58261 /src/nvim/testing.c | |
parent | 46734cf7c1e5abe8e452354db6914364bfe89f0d (diff) | |
parent | b9bdd0f61e5e7365c07aadbc3f796556b6d85fdf (diff) | |
download | rneovim-8ea84eee570fd1ec560fe149e611d10034d9a223.tar.gz rneovim-8ea84eee570fd1ec560fe149e611d10034d9a223.tar.bz2 rneovim-8ea84eee570fd1ec560fe149e611d10034d9a223.zip |
Merge pull request #18345 from dundargoc/refactor/remove-char_u
refactor: replace char_u variables and functions with char
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); |