aboutsummaryrefslogtreecommitdiffstats
path: root/testing-client/src/test/java
diff options
context:
space:
mode:
Diffstat (limited to 'testing-client/src/test/java')
-rw-r--r--testing-client/src/test/java/org/aspectj/testing/TesterTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing-client/src/test/java/org/aspectj/testing/TesterTest.java b/testing-client/src/test/java/org/aspectj/testing/TesterTest.java
index 544e46e2f..5533739a3 100644
--- a/testing-client/src/test/java/org/aspectj/testing/TesterTest.java
+++ b/testing-client/src/test/java/org/aspectj/testing/TesterTest.java
@@ -190,7 +190,7 @@ public class TesterTest extends TestCase {
boolean gotItem(List<IMessage> list, String substring) {
for (IMessage element: list) {
String s = element.getMessage();
- if ((null != s) && (-1 != s.indexOf(substring))) {
+ if ((null != s) && (s.contains(substring))) {
return true;
}
}