From 7118ec7ec4c62c61bbb30083ed212c7e5485135b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 19 Dec 2024 09:12:59 +0100 Subject: relax test expectation --- tests/015-rpmmacro.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/015-rpmmacro.phpt') diff --git a/tests/015-rpmmacro.phpt b/tests/015-rpmmacro.phpt index 13a92e1..794cabf 100644 --- a/tests/015-rpmmacro.phpt +++ b/tests/015-rpmmacro.phpt @@ -7,7 +7,7 @@ Check for rpmdefine, rpmexpand, rpmexpandnumeric var_dump(is_dir(rpmexpand("%{_dbpath}"))); var_dump(rpmexpandnumeric("%__isa_bits") === PHP_INT_SIZE * 8); -var_dump(rpmexpandnumeric("0%{?fedora}%{?rhel}") > 0); +var_dump(is_int(rpmexpandnumeric("0%{?fedora}%{?rhel}"))); $name = "_my_test_macro_for_rpminfo_"; $val = __FILE__; -- cgit