Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.
Prev Previous commit
Next Next commit
Fixes last java test
  • Loading branch information
spacether committed Nov 29, 2023
commit 20210e623b15c200e282585b5b58519fe28f24d3
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ public void testCustomNonLibraryTemplates() throws IOException {
File output = target.toFile();
try {
// Create custom template
File customTemplate = new File(templates.toFile(), "README.mustache");
File customTemplate = new File(templates.toFile(), "README.hbs");
new File(customTemplate.getParent()).mkdirs();
Files.write(customTemplate.toPath(),
"# {{someKey}}".getBytes(StandardCharsets.UTF_8),
Expand All @@ -573,7 +573,7 @@ public void testCustomNonLibraryTemplates() throws IOException {

List<File> files = generator.opts(clientOptInput).generate();

Assert.assertEquals(files.size(), 27);
Assert.assertEquals(files.size(), 57);

// GeneratorRunner should report README.md as a generated file
TestUtils.ensureContainsFile(files, output, "README.md");
Expand Down