Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
Signed-off-by: lisrte <[email protected]>
  • Loading branch information
Lisrte authored and flo-dup committed Nov 23, 2023
1 parent 2e2af1f commit 5ac99c2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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()));
}
}

0 comments on commit 5ac99c2

Please sign in to comment.