Unused import in the generated test #1449
Labels
comp-codegen
Issue is related to code generator
ctg-bug
Issue is a bug
status-wont-fix
This will not be worked on
Uh oh!
There was an error while loading. Please reload this page.
Description
There is an unused import in the generated test:
import java.net.UnknownHostException;
for the code containing
Socket.connect
To Reproduce
Expected behavior
Only required imports are added to the generated test class.
Actual behavior
There is unused
import java.net.UnknownHostException;
Visual proofs (screenshots, logs, images)
Environment
Windows 10 Pro
IntelliJ IDEA 2022.2.3 (JBR 17)
Gradle
JDK 11
Additional context
Originally posted by @alisevych in #1314 (comment)
The text was updated successfully, but these errors were encountered: