Fix non-compiling input for CustomImportOrder check
There are no classes directly under `com.google.common` package - such import was illegal.
This commit is contained in:
parent
a281cc95c4
commit
a135b0952a
|
|
@ -81,7 +81,7 @@ public class CustomImportOrderCheckTest extends BaseCheckTestSupport
|
|||
"9: " + getCheckMessage(MSG_LEX, "java.awt.Dialog"),
|
||||
"13: " + getCheckMessage(MSG_LEX, "java.io.File"),
|
||||
"15: " + getCheckMessage(MSG_LEX, "java.io.InputStream"),
|
||||
"20: " + getCheckMessage(MSG_LEX, "com.google.common.*"),
|
||||
"20: " + getCheckMessage(MSG_LEX, "com.google.common.collect.*"),
|
||||
};
|
||||
|
||||
verify(checkConfig, getPath("imports" + File.separator
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ import java.io.Reader;
|
|||
|
||||
import com.puppycrawl.tools.*;
|
||||
|
||||
import com.google.common.*;
|
||||
import com.google.common.collect.*;
|
||||
import org.junit.*;
|
||||
|
||||
public class InputCustomImportOrder {
|
||||
|
|
|
|||
Loading…
Reference in New Issue