projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
PHP 8 compatibility
[m6w6/ext-psi]
/
tests
/
parser
/
validate004.phpt
diff --git
a/tests/parser/validate004.phpt
b/tests/parser/validate004.phpt
index 31b8509cc3b99dd0d7ab441f91281fab1f679e12..fcbcc48fd7cef1e7be0d5a81b7862c602dd9f56a 100644
(file)
--- a/
tests/parser/validate004.phpt
+++ b/
tests/parser/validate004.phpt
@@
-1,9
+1,5
@@
--TEST--
validate types
---SKIPIF--
-<?php
-extension_loaded("psi") or die("skip - need ext/psi");
-?>
--FILE--
===TEST===
<?php
@@
-12,6
+8,4
@@
psi_validate_string("struct a; \ntypedef struct a a_t;");
===DONE===
--EXPECTF--
===TEST===
-
-Warning: Cannot compute size of empty struct 'a' in %s on line 1
===DONE===