Skip to content

Commit

Permalink
Fix javac compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed Jul 19, 2012
1 parent f1be7f2 commit 1489b8e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.junit.tests.experimental.rules;

import static java.util.Arrays.asList;
import static org.hamcrest.CoreMatchers.allOf;
import static org.hamcrest.CoreMatchers.any;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.is;
Expand All @@ -19,6 +18,7 @@

import java.util.Collection;

import org.hamcrest.CoreMatchers;
import org.hamcrest.Matcher;
import org.junit.Rule;
import org.junit.Test;
Expand Down Expand Up @@ -83,7 +83,7 @@ public static Collection<Object[]> testsWithEventMatcher() {
{ ThrowExpectedNullCause.class, everyTestRunSuccessful() },
{
ThrowUnexpectedCause.class,
hasSingleFailureWithMessage(allOf(
hasSingleFailureWithMessage(CoreMatchers.<String>allOf(
startsWith("\nExpected: ("),
containsString("exception with cause is <java.lang.NullPointerException: expected cause>"),
containsString("Stacktrace was: java.lang.IllegalArgumentException: Ack!"),
Expand Down

0 comments on commit 1489b8e

Please sign in to comment.