upstream: Update test to match recent change in match.c
OpenBSD-Regress-ID: 965bda1f95f09a765050707340c73ad755f41167
This commit is contained in:
parent
d7e71be4fd
commit
f1a4798941
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue