summaryrefslogtreecommitdiffstats
path: root/tests/002-rpmvercmp.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/002-rpmvercmp.phpt')
-rw-r--r--tests/002-rpmvercmp.phpt13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/002-rpmvercmp.phpt b/tests/002-rpmvercmp.phpt
index 7da40b4..d83cf67 100644
--- a/tests/002-rpmvercmp.phpt
+++ b/tests/002-rpmvercmp.phpt
@@ -35,21 +35,8 @@ foreach ($cases as $case) {
}
}
if ($ok) echo "OK\n";
-// Errors
-var_dump(rpmvercmp());
-var_dump(rpmvercmp("a"));
-var_dump(rpmvercmp("a", "b", "c"));
?>
Done
--EXPECTF--
OK
-
-Warning: rpmvercmp() expects exactly 2 parameters, 0 given in %s/002-rpmvercmp.php on line %d
-NULL
-
-Warning: rpmvercmp() expects exactly 2 parameters, 1 given in %s/002-rpmvercmp.php on line %d
-NULL
-
-Warning: rpmvercmp() expects exactly 2 parameters, 3 given in %s/002-rpmvercmp.php on line %d
-NULL
Done