mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
2a9b8c4bbb
commit
09fc06cbbc
1 changed files with 1 additions and 2 deletions
|
@ -2790,11 +2790,10 @@ public class AST2Tests extends AST2TestBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testProblems() throws Exception {
|
public void testProblems() throws Exception {
|
||||||
|
|
||||||
IASTTranslationUnit tu = parse(
|
IASTTranslationUnit tu = parse(
|
||||||
" a += ;", C, true, false); //$NON-NLS-1$
|
" a += ;", C, true, false); //$NON-NLS-1$
|
||||||
IASTProblem[] ps = CVisitor.getProblems(tu);
|
IASTProblem[] ps = CVisitor.getProblems(tu);
|
||||||
assertEquals(ps.length, 1);
|
assertEquals(1, ps.length);
|
||||||
ps[0].getMessage();
|
ps[0].getMessage();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue