X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=tests%2Fparser%2Fvalidate001.phpt;fp=tests%2Fparser%2Fvalidate001.phpt;h=378db8d86cfc02c695995812279bc0b543c75c46;hp=7a0a8628b03c8a265a3e8ac8c90324b77ae1d859;hb=898c6dac30d12d7fe56662d66a8e73c340926d64;hpb=b25cb3852e3c6ef6da608001585218015aaf5d3e diff --git a/tests/parser/validate001.phpt b/tests/parser/validate001.phpt index 7a0a862..378db8d 100644 --- a/tests/parser/validate001.phpt +++ b/tests/parser/validate001.phpt @@ -85,9 +85,9 @@ validate(true, "typedef int bar(int baz); \ntypedef int *(*foo)(bar bar);"); --EXPECTF-- ===TEST=== -Warning: PSI syntax error: Unexpected token ';' in %s001.psi on line 1 +Warning: PSI syntax error: Unexpected token ';' at pos 17 in %s001.psi 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 %s001.psi on line 1 Warning: Type 'bar' cannot be aliased to struct 'foo' in %s001.psi on line 1 @@ -95,5 +95,5 @@ 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 '(' in %s001.psi on line 1 +Warning: PSI syntax error: Unexpected token '(' at pos 26 in %s001.psi on line 1 ===DONE===