File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
plugin-gradle/src/test/java/com/diffplug/gradle/spotless Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,13 +32,13 @@ public void testThrowsMessageContainsFilename() throws Exception {
3232 SpotlessTaskImpl task = Mockito .mock (SpotlessTaskImpl .class , Mockito .CALLS_REAL_METHODS );
3333 Mockito .when (task .getLogger ()).thenReturn (Mockito .mock (Logger .class ));
3434
35- File projectDir = Paths .get ("unitTests" ,"projectDir" ).toFile ();
35+ File projectDir = Paths .get ("unitTests" , "projectDir" ).toFile ();
3636 DirectoryProperty projectDirProperty = Mockito .mock (DirectoryProperty .class , Mockito .RETURNS_DEEP_STUBS );
3737 Mockito .when (projectDirProperty .get ().getAsFile ()).thenReturn (projectDir );
3838
3939 Mockito .when (task .getProjectDir ()).thenReturn (projectDirProperty );
4040
41- File input = Paths .get ("unitTests" ,"projectDir" , "someInput" ).toFile ();
41+ File input = Paths .get ("unitTests" , "projectDir" , "someInput" ).toFile ();
4242 Formatter formatter = Mockito .mock (Formatter .class );
4343
4444 Assertions .assertThatThrownBy (() -> task .processInputFile (null , formatter , input )).hasMessageContaining (input .toString ());
You can’t perform that action at this time.
0 commit comments