From 4604008957de5f2dca07666c5c52092983b08853 Mon Sep 17 00:00:00 2001 From: Marc Philipp Date: Wed, 22 Aug 2012 13:31:36 +0200 Subject: [PATCH] Use org.junit.Assert instead of junit.framework.Assert --- src/main/java/org/junit/rules/ExpectedException.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/junit/rules/ExpectedException.java b/src/main/java/org/junit/rules/ExpectedException.java index e6e6670dca51..f2e6ed7a8cf5 100644 --- a/src/main/java/org/junit/rules/ExpectedException.java +++ b/src/main/java/org/junit/rules/ExpectedException.java @@ -1,12 +1,11 @@ package org.junit.rules; -import static junit.framework.Assert.fail; import static org.hamcrest.CoreMatchers.containsString; import static org.hamcrest.CoreMatchers.instanceOf; import static org.junit.Assert.assertThat; +import static org.junit.Assert.fail; import static org.junit.internal.matchers.ThrowableCauseMatcher.hasCause; import static org.junit.internal.matchers.ThrowableMessageMatcher.hasMessage; -import junit.framework.Assert; import org.hamcrest.Matcher; import org.hamcrest.StringDescription; import org.junit.internal.AssumptionViolatedException;