Please explain this bug or I broke something:

import org.junit.Test; import static org.hamcrest.core.Is.is; import static org.junit.Assert.*; public class TrackerTest { @Test// **здесь не отображается но у меня он зачеркнутым шрифтом как будто устарел и опасен.** public void whenThen() { 

Tell me I broke something in the idea or what is it all about ??? I doubt that San decided to declare it dangerous ..)

  • Version of the compiler checked? - Maks.Burkov
  • pavel $ javac -version javac 1.8.0_101. That's all good. - Pavel
  • I had a similar one when maven used, do you have maven? - Maks.Burkov
  • Yes, I have maven 3.3.9 - Pavel
  • one
    maven.apache.org/surefire/maven-surefire-plugin/examples/… see this, or write how to set up JUnit and Maven .. - Maks.Burkov

0