]> granicus.if.org Git - php/commitdiff
Fix tests on Windows
authorKalle Sommer Nielsen <kalle@php.net>
Thu, 26 Mar 2015 02:13:50 +0000 (03:13 +0100)
committerKalle Sommer Nielsen <kalle@php.net>
Thu, 26 Mar 2015 02:13:50 +0000 (03:13 +0100)
CRLF takes +2 bytes when running the tests, making it yield 13 instead of 11

ext/reflection/tests/009.phpt
ext/reflection/tests/025.phpt

index 8cc0f981666700c0bf1d9e69e01e2270773f7565..81fe93a2558c88d7d11869b3d411a64a6d31379d 100644 (file)
@@ -76,7 +76,7 @@ int(6)
 --getEndline--
 int(8)
 --getDocComment--
-string(11) "/**
+string(%d) "/**
 hoho
 */"
 --getStaticVariables--
index e49fa998e72ea713b981224343087b58ef9f6c4e..cd375454b515f3804c4263c50d3129381a8980ee 100644 (file)
@@ -78,7 +78,7 @@ int(6)
 --getEndline--
 int(8)
 --getDocComment--
-string(11) "/**
+string(%d) "/**
 hoho
 */"
 --getStaticVariables--