I believe the problem is IntelliJ IDEA testing subsystem. AFAIK, it tries to parse the string to guess class/method name for navigation and such, so something that looks like dot-separated text could be skewed. With JUnit 5 it shouldn’t be the case, though. Try changing the text so it doesn’t have dot-separated string in front of it