diff --git a/data/import-2-import.mjml b/data/import-2-import.mjml new file mode 100644 index 0000000..6e3a891 --- /dev/null +++ b/data/import-2-import.mjml @@ -0,0 +1,18 @@ + + + + + + + + + + + Basic column here. It's green. + + + + + + + \ No newline at end of file diff --git a/data/include/test-partial-two.mjml b/data/include/test-partial-two.mjml new file mode 100644 index 0000000..b1871c6 --- /dev/null +++ b/data/include/test-partial-two.mjml @@ -0,0 +1,16 @@ + + + + + + + + + + + Test include 2 is here. It's blue. + + + + + \ No newline at end of file diff --git a/data/include/test-partial.mjml b/data/include/test-partial.mjml new file mode 100644 index 0000000..39f2925 --- /dev/null +++ b/data/include/test-partial.mjml @@ -0,0 +1,16 @@ + + + + + + + + + + + Include 1 is here. It's red. + + + + + \ No newline at end of file diff --git a/src/test/java/ch/digitalfondue/mjml4j/BaseComponentTests.java b/src/test/java/ch/digitalfondue/mjml4j/BaseComponentTests.java index 7eff63d..f8f7272 100644 --- a/src/test/java/ch/digitalfondue/mjml4j/BaseComponentTests.java +++ b/src/test/java/ch/digitalfondue/mjml4j/BaseComponentTests.java @@ -225,4 +225,9 @@ void testEmptySection() { void testImportHead() { testTemplate("import-head"); } + + @Test + void test2Import() { + testTemplate("import-2-import"); + } }