Skip to content
Snippets Groups Projects
Commit 792822e9 authored by Johannes Mey's avatar Johannes Mey
Browse files

remove second newline at end of printed ecore files

parent 66dd73b4
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,7 @@ class ParserTest { ...@@ -39,7 +39,7 @@ class ParserTest {
p.writeXMI(b); p.writeXMI(b);
try (PrintWriter out = new PrintWriter("bigraph_out.ecore")) { try (PrintWriter out = new PrintWriter("bigraph_out.ecore")) {
out.println(b.toString()); out.print(b.toString());
} catch (FileNotFoundException e) { } catch (FileNotFoundException e) {
Assertions.fail("unable to write output file", e); Assertions.fail("unable to write output file", e);
} }
...@@ -74,7 +74,7 @@ class ParserTest { ...@@ -74,7 +74,7 @@ class ParserTest {
p.writeXMI(b); p.writeXMI(b);
try (PrintWriter out = new PrintWriter("ecore_out.ecore")) { try (PrintWriter out = new PrintWriter("ecore_out.ecore")) {
out.println(b.toString()); out.print(b.toString());
} catch (FileNotFoundException e) { } catch (FileNotFoundException e) {
Assertions.fail("unable to write output file", e); Assertions.fail("unable to write output file", e);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment