From 895a9fef97fbc17e18e76fed1f19b28cf9dc986a Mon Sep 17 00:00:00 2001 From: lisrte Date: Fri, 10 Nov 2023 16:03:26 +0100 Subject: [PATCH] Fix test Signed-off-by: lisrte --- .../com/powsybl/dynawaltz/dsl/AbstractModelSupplierTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dynawaltz-dsl/src/test/java/com/powsybl/dynawaltz/dsl/AbstractModelSupplierTest.java b/dynawaltz-dsl/src/test/java/com/powsybl/dynawaltz/dsl/AbstractModelSupplierTest.java index 6ec436d89..7776a7b20 100644 --- a/dynawaltz-dsl/src/test/java/com/powsybl/dynawaltz/dsl/AbstractModelSupplierTest.java +++ b/dynawaltz-dsl/src/test/java/com/powsybl/dynawaltz/dsl/AbstractModelSupplierTest.java @@ -8,6 +8,7 @@ package com.powsybl.dynawaltz.dsl; import com.powsybl.commons.reporter.ReporterModel; +import com.powsybl.commons.test.TestUtil; import java.io.InputStream; import java.io.StringWriter; @@ -29,6 +30,6 @@ protected InputStream getResourceAsStream(String name) { protected void checkReporter(String report) { StringWriter sw = new StringWriter(); reporter.export(sw); - assertEquals(report, sw.toString()); + assertEquals(report, TestUtil.normalizeLineSeparator(sw.toString())); } }