X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=tests%2Fparser%2Fvalidate001.phpt;h=5774d77adfb88869aae15438d7591a1c6a612012;hp=7a0a8628b03c8a265a3e8ac8c90324b77ae1d859;hb=410881ab37d993b0a15d295293a005aa0500ce8d;hpb=8ea12c5ca367010b2d5024e68849e06af9300d61 diff --git a/tests/parser/validate001.phpt b/tests/parser/validate001.phpt index 7a0a862..5774d77 100644 --- a/tests/parser/validate001.phpt +++ b/tests/parser/validate001.phpt @@ -7,10 +7,9 @@ extension_loaded("psi") or die("skip - need ext/psi"); --FILE-- ===TEST=== ===DONE=== ---CLEAN-- - --EXPECTF-- ===TEST=== -Warning: PSI syntax error: Unexpected token ';' in %s001.psi on line 1 +Warning: PSI syntax error: Unexpected token ';' at pos 17 in %s on line 1 -Warning: PSI syntax error: Unexpected token 'int' in %s001.psi on line 1 +Warning: PSI syntax error: Unexpected token 'int' at pos 14 in %s on line 1 -Warning: Type 'bar' cannot be aliased to struct 'foo' in %s001.psi on line 1 +Warning: Cannot compute size of empty struct 'a' in %s on line 1 -Warning: Cannot compute size of empty struct 'a' in %s001.psi on line 1 +Warning: Unknown variable 'X' in numeric expression in %s on line 4 -Warning: Unknown variable 'X' in numeric expression in %s001.psi on line 4 +Warning: PSI syntax error: Unexpected token '(' at pos 26 in %s on line 1 -Warning: PSI syntax error: Unexpected token '(' in %s001.psi on line 1 +Warning: PSI syntax error: Unexpected token '(' at pos 32 in %s on line 1 ===DONE===