From 95b0b06cd714b1bac001518c1c0442b031832e35 Mon Sep 17 00:00:00 2001 From: Andrew Ferguson Date: Tue, 15 Apr 2008 14:04:21 +0000 Subject: [PATCH] shorten some binding-helper assertion messages --- .../eclipse/cdt/core/parser/tests/ast2/AST2BaseTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2BaseTest.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2BaseTest.java index 16fd77eb2c9..918b4cafa6f 100644 --- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2BaseTest.java +++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2BaseTest.java @@ -441,19 +441,19 @@ public class AST2BaseTest extends BaseTestCase { public IBinding assertProblem(String section, int len) { IBinding binding= binding(section, len); - assertTrue("Binding is not a ProblemBinding for name: "+section, binding instanceof IProblemBinding); + assertTrue("Non-ProblemBinding for name: "+section, binding instanceof IProblemBinding); return binding; } public IBinding assertNonProblem(String section, int len) { IBinding binding= binding(section, len); - assertTrue("Binding is a ProblemBinding for name: "+section, !(binding instanceof IProblemBinding)); + assertTrue("ProblemBinding for name: "+section, !(binding instanceof IProblemBinding)); return binding; } public T assertNonProblem(String section, int len, Class type, Class... cs) { IBinding binding= binding(section, len); - assertTrue("Binding is a ProblemBinding for name: "+section, !(binding instanceof IProblemBinding)); + assertTrue("ProblemBinding for name: "+section, !(binding instanceof IProblemBinding)); assertInstance(binding, type); assertInstance(binding, cs); return type.cast(binding);