1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2013-04-03 15:51:32 -07:00
parent 2a9b8c4bbb
commit 09fc06cbbc

View file

@ -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();
} }