From 299d5dd5d06ec253fad31974e80b185a5e418372 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 24 Jan 2018 13:27:10 +0100 Subject: fix test --- tests/002.phpt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') 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 -- cgit