diff --git a/core/test/com/google/inject/util/EnhancedTest.java b/core/test/com/google/inject/util/EnhancedTest.java index be9dd82584..d54418a7c7 100644 --- a/core/test/com/google/inject/util/EnhancedTest.java +++ b/core/test/com/google/inject/util/EnhancedTest.java @@ -3,7 +3,6 @@ import static com.google.common.truth.Truth.assertThat; import static org.junit.Assume.assumeTrue; -import com.google.common.truth.Truth8; import com.google.inject.AbstractModule; import com.google.inject.Guice; import com.google.inject.Injector; @@ -46,8 +45,8 @@ public void unenhancedClass() { assertThat(bar.bar()).isEqualTo("bar"); // The actual tests. - Truth8.assertThat(Enhanced.unenhancedClass(foo.getClass())).isEqualTo(Optional.of(Foo.class)); - Truth8.assertThat(Enhanced.unenhancedClass(bar.getClass())).isEmpty(); + assertThat(Enhanced.unenhancedClass(foo.getClass())).isEqualTo(Optional.of(Foo.class)); + assertThat(Enhanced.unenhancedClass(bar.getClass())).isEmpty(); } private static class InterceptingModule extends AbstractModule {