This is an automated email from the ASF dual-hosted git repository.

sgoeschl pushed a commit to branch FREEMARKER-151
in repository https://gitbox.apache.org/repos/asf/freemarker-generator.git


The following commit(s) were added to refs/heads/FREEMARKER-151 by this push:
     new 47eca92  FREEMARKER-151 [freemarker-cli] Ensure that build and and 
examples are running on Windows
47eca92 is described below

commit 47eca9264e6861b65c8e633c792e86aacff2014c
Author: Siegfried Goeschl <[email protected]>
AuthorDate: Tue Jul 7 13:35:57 2020 +0200

    FREEMARKER-151 [freemarker-cli] Ensure that build and and examples are 
running on Windows
---
 .../org/apache/freemarker/generator/maven/FreeMarkerMojoTest.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/freemarker-generator-maven-plugin/src/test/java/org/apache/freemarker/generator/maven/FreeMarkerMojoTest.java
 
b/freemarker-generator-maven-plugin/src/test/java/org/apache/freemarker/generator/maven/FreeMarkerMojoTest.java
index 046250f..9ac1734 100644
--- 
a/freemarker-generator-maven-plugin/src/test/java/org/apache/freemarker/generator/maven/FreeMarkerMojoTest.java
+++ 
b/freemarker-generator-maven-plugin/src/test/java/org/apache/freemarker/generator/maven/FreeMarkerMojoTest.java
@@ -105,13 +105,13 @@ public class FreeMarkerMojoTest extends Assert {
         assertThatExceptionOfType(MojoExecutionException.class).isThrownBy(() 
-> {
             mojo.execute();
         })
-                .withMessage(fixSeparators("Required directory does not exist: 
target/test-output/freemarker-mojo/executeTest/data"));
+                .withMessageStartingWith("Required directory does not exist");
 
         new File(testCaseOutputDir, "data").mkdirs();
         assertThatExceptionOfType(MojoExecutionException.class).isThrownBy(() 
-> {
             mojo.execute();
         })
-                .withMessage(fixSeparators("Required directory does not exist: 
target/test-output/freemarker-mojo/executeTest/template"));
+                .withMessageStartingWith("Required directory does not exist");
         new File(testCaseOutputDir, "template").mkdirs();
 
         // Validate minimum configuration.
@@ -221,7 +221,7 @@ public class FreeMarkerMojoTest extends Assert {
         assertThatExceptionOfType(MojoExecutionException.class).isThrownBy(() 
-> {
             mojo.execute();
         })
-                .withMessage(fixSeparators("Failed to process files in 
generator dir: 
target/test-output/freemarker-mojo/generateTestSourceTest/data"));
+                .withMessageStartingWith("Failed to process files in generator 
dir");
     }
 
     @Test
@@ -257,7 +257,7 @@ public class FreeMarkerMojoTest extends Assert {
         assertThatExceptionOfType(MojoExecutionException.class).isThrownBy(() 
-> {
             mojo.execute();
         })
-                .withMessage(fixSeparators("Could not establish file template 
loader for directory: 
target/test-output/freemarker-mojo/setTemplateLoaderException/template"));
+                .withMessageStartingWith("Could not establish file template 
loader for directory");
     }
 
     @Test

Reply via email to