summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-12-19 09:12:59 +0100
committerRemi Collet <remi@php.net>2024-12-19 09:12:59 +0100
commit7118ec7ec4c62c61bbb30083ed212c7e5485135b (patch)
treed3a176970f2b40d41a4468757a6a12027f3a1c27 /tests
parent8997cc9cfca46c31d20a8e91372d63536f19ef0c (diff)
relax test expectation
Diffstat (limited to 'tests')
-rw-r--r--tests/015-rpmmacro.phpt2
1 files changed, 1 insertions, 1 deletions
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__;