upstream: Fix previous by calling the correct function.

OpenBSD-Regress-ID: 821cdd1dff9c502cceff4518b6afcb81767cad5a
This commit is contained in:
dtucker@openbsd.org 2020-07-15 06:43:16 +00:00 committed by Darren Tucker
parent f1a4798941
commit 9c9ddc1391
1 changed files with 2 additions and 2 deletions

View File

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