com php-src: Use integer placeholders, since values can vary with the TDS version: ext/pdo_dblib/tests/bug_45876.phpt

From: Date: Mon, 05 Sep 2016 07:17:59 +0000
Subject: com php-src: Use integer placeholders, since values can vary with the TDS version: ext/pdo_dblib/tests/bug_45876.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-94300@lists.php.net to get a copy of this message
Commit: 84d495055db038508fdb288c49034748e257db7b Author: Adam Baratz <adam.baratz@gmail.com> Wed, 24 Aug 2016 18:44:55 -0400 Committer: Stanislav Malyshev <stas@php.net> Mon, 5 Sep 2016 00:17:59 -0700 Parents: b578580e888bf5ab3064a519deda9fd47bf00275 Branches: PHP-5.6 PHP-7.0 PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=84d495055db038508fdb288c49034748e257db7b Log: Use integer placeholders, since values can vary with the TDS version Changed paths: M ext/pdo_dblib/tests/bug_45876.phpt Diff: diff --git a/ext/pdo_dblib/tests/bug_45876.phpt b/ext/pdo_dblib/tests/bug_45876..phpt index 9209058..dd029f8 100644 --- a/ext/pdo_dblib/tests/bug_45876..phpt +++ b/ext/pdo_dblib/tests/bug_45876.phpt @@ -14,10 +14,10 @@ $stmt->execute(); var_dump($stmt->getColumnMeta(0)); $stmt = null; ?> ---EXPECT-- +--EXPECTF-- array(8) { ["max_length"]=> - int(255) + int(%d) ["precision"]=> int(0) ["scale"]=> @@ -29,7 +29,7 @@ array(8) { ["name"]=> string(13) "TABLE_CATALOG" ["len"]=> - int(255) + int(%d) ["pdo_type"]=> int(2) }

« previous php.cvs (#94300) next »