Skip to content

Commit

Permalink
Added testcase for issue #15
Browse files Browse the repository at this point in the history
  • Loading branch information
chbloemer committed Dec 16, 2024
1 parent 779e673 commit 87c69f0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/de/neuland/pug4j/integration/IssuesTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public void shouldCompileJadeToHtmlWithClasspathTemplateLoader() throws Exceptio

@Test
public void shouldCompileJadeToHtmlWithReaderTemplateLoader() throws Exception {
List<String> additionalIgnoredCases = Arrays.asList("52", "74", "100", "104a", "104b", "123", "135");
List<String> additionalIgnoredCases = Arrays.asList("52", "74", "100", "104a", "104b", "123", "135","pug015");
if (additionalIgnoredCases.contains(file.replace(".jade", ""))) {
return;
}
Expand Down
3 changes: 3 additions & 0 deletions src/test/resources/issues/_pug015_include.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
p {
font-size: 12px;
}
3 changes: 3 additions & 0 deletions src/test/resources/issues/pug015.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
p {
font-size: 12px;
}
1 change: 1 addition & 0 deletions src/test/resources/issues/pug015.jade
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include _pug015_include.css

0 comments on commit 87c69f0

Please sign in to comment.