projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
flush
[m6w6/ext-psi]
/
tests
/
parser
/
validate001.phpt
diff --git
a/tests/parser/validate001.phpt
b/tests/parser/validate001.phpt
index 378db8d86cfc02c695995812279bc0b543c75c46..4cb8b2d77a1de981435ce15f6003ced51d3d1591 100644
(file)
--- a/
tests/parser/validate001.phpt
+++ b/
tests/parser/validate001.phpt
@@
-7,6
+7,7
@@
extension_loaded("psi") or die("skip - need ext/psi");
--FILE--
===TEST===
<?php
--FILE--
===TEST===
<?php
+
function validate($check, $psi) {
$file = __DIR__."/001.psi";
file_put_contents($file, $psi);
function validate($check, $psi) {
$file = __DIR__."/001.psi";
file_put_contents($file, $psi);
@@
-96,4
+97,6
@@
Warning: Cannot compute size of empty struct 'a' in %s001.psi on line 1
Warning: Unknown variable 'X' in numeric expression in %s001.psi on line 4
Warning: PSI syntax error: Unexpected token '(' at pos 26 in %s001.psi on line 1
Warning: Unknown variable 'X' in numeric expression in %s001.psi on line 4
Warning: PSI syntax error: Unexpected token '(' at pos 26 in %s001.psi on line 1
+
+Warning: PSI syntax error: Unexpected token '(' at pos 32 in %s001.psi on line 1
===DONE===
===DONE===