summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
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__;