upstream: Update test to match recent change in match.c

OpenBSD-Regress-ID: 965bda1f95f09a765050707340c73ad755f41167
This commit is contained in:
dtucker@openbsd.org 2020-07-15 05:36:50 +00:00 committed by Darren Tucker
parent d7e71be4fd
commit f1a4798941
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $OpenBSD: tests.c,v 1.5 2018/07/04 13:51:45 djm Exp $ */
/* $OpenBSD: tests.c,v 1.6 2020/07/15 05:36:50 dtucker Exp $ */
/*
* Regress test for matching functions
*
@ -105,7 +105,7 @@ tests(void)
#define CHECK_FILTER(string,filter,expected) \
do { \
char *result = match_filter_blacklist((string), (filter)); \
char *result = match_filter_allowlist((string), (filter)); \
ASSERT_STRING_EQ(result, expected); \
free(result); \
} while (0)