KCR34: builder: ReadmeWriterTest: template: make local variable
This commit is contained in:
parent
c4f302d9e5
commit
d754fdc0a3
1 changed files with 2 additions and 4 deletions
|
@ -35,8 +35,6 @@ public class ReadmeWriterTest {
|
||||||
@Mock
|
@Mock
|
||||||
private ReadmeIndexBuilder indexBuilder;
|
private ReadmeIndexBuilder indexBuilder;
|
||||||
|
|
||||||
private Path template;
|
|
||||||
|
|
||||||
private Path fragments;
|
private Path fragments;
|
||||||
|
|
||||||
private Path readme;
|
private Path readme;
|
||||||
|
@ -47,7 +45,7 @@ public class ReadmeWriterTest {
|
||||||
@Before
|
@Before
|
||||||
public void setUp() throws Exception {
|
public void setUp() throws Exception {
|
||||||
MockitoAnnotations.initMocks(this);
|
MockitoAnnotations.initMocks(this);
|
||||||
template = folder.newFile("README-template.md")
|
final Path template = folder.newFile("README-template.md")
|
||||||
.toPath();
|
.toPath();
|
||||||
Files.write(template, Arrays.asList("i:%s", "ce:%s", "se:%s", "cd:%s", "sd:%s"));
|
Files.write(template, Arrays.asList("i:%s", "ce:%s", "se:%s", "cd:%s", "sd:%s"));
|
||||||
fragments = folder.newFolder("fragments")
|
fragments = folder.newFolder("fragments")
|
||||||
|
|
Loading…
Reference in a new issue