builder: ReadmeWriterTest: templateProperties: make local variable
This commit is contained in:
parent
74690d8cdf
commit
701b64e2c6
1 changed files with 1 additions and 3 deletions
|
@ -25,8 +25,6 @@ public class ReadmeWriterTest {
|
|||
|
||||
private ReadmeWriter readmeWriter;
|
||||
|
||||
private TemplateProperties templateProperties;
|
||||
|
||||
private RulesProperties rulesProperties;
|
||||
|
||||
@Mock
|
||||
|
@ -46,7 +44,7 @@ public class ReadmeWriterTest {
|
|||
final Path template = folder.newFile("README-template.md")
|
||||
.toPath();
|
||||
Files.write(template, Arrays.asList("i:%s", "ce:%s", "se:%s", "cd:%s", "sd:%s"));
|
||||
templateProperties = new TemplateProperties();
|
||||
final TemplateProperties templateProperties = new TemplateProperties();
|
||||
templateProperties.setReadmeTemplate(template);
|
||||
final Path fragments = folder.newFolder("fragments")
|
||||
.toPath();
|
||||
|
|
Loading…
Reference in a new issue