Skip to content

Commit a0d31a6

Browse files
committed
Fix type inference test
1 parent e18bd50 commit a0d31a6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/test/java/org/powerassert/TypeInferencePerformanceTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
package org.powerassert;
22

3+
import org.junit.Before;
34
import org.junit.Test;
45

56
public class TypeInferencePerformanceTest extends AbstractAssertTest {
7+
@Before
8+
public void setup() {
9+
java = new JavaCompilerHelper(new PowerAssertProcessor(true));
10+
}
11+
612
/**
713
* Otherwise, it will take several seconds to run on JDK 1.8. It is faster on JDK 7.
814
* Type inferencing for nested generic method calls is known to be super slow on JDK 8, but this

0 commit comments

Comments
 (0)