summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-01-24 13:27:10 +0100
committerRemi Collet <remi@remirepo.net>2018-01-24 13:27:10 +0100
commit299d5dd5d06ec253fad31974e80b185a5e418372 (patch)
tree9997a46313a6da290fbcb5a16e661c888e98de33 /tests
parent88e8bef6b42bbd1a831e5c8a37e0567251df83bb (diff)
fix test
Diffstat (limited to 'tests')
-rw-r--r--tests/002.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/002.phpt b/tests/002.phpt
index 513339c..27c3a84 100644
--- a/tests/002.phpt
+++ b/tests/002.phpt
@@ -13,17 +13,17 @@ var_dump(rpmvercmp("a"));
var_dump(rpmvercmp("a", "b", "c"));
?>
Done
---EXPECT--
+--EXPECTF--
int(-1)
int(1)
int(0)
-Warning: rpmvercmp() expects exactly 2 parameters, 0 given in /work/GIT/php-rpminfo/tests/002.php on line 6
+Warning: rpmvercmp() expects exactly 2 parameters, 0 given in %s/002.php on line 6
NULL
-Warning: rpmvercmp() expects exactly 2 parameters, 1 given in /work/GIT/php-rpminfo/tests/002.php on line 7
+Warning: rpmvercmp() expects exactly 2 parameters, 1 given in %s/002.php on line 7
NULL
-Warning: rpmvercmp() expects exactly 2 parameters, 3 given in /work/GIT/php-rpminfo/tests/002.php on line 8
+Warning: rpmvercmp() expects exactly 2 parameters, 3 given in %s/002.php on line 8
NULL
Done