Skip to content

Commit 6d62a71

Browse files
committed
Use the platform separator in another test
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187096703
1 parent 670be78 commit 6d62a71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/test/java/com/google/googlejavaformat/java/MainTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,6 @@ public void assumeFilename_dryRun() throws Exception {
474474
new PrintWriter(err, true),
475475
new ByteArrayInputStream(joiner.join(input).getBytes(UTF_8)));
476476
assertThat(main.format("--dry-run", "--assume-filename=Foo.java", "-")).isEqualTo(0);
477-
assertThat(out.toString()).isEqualTo("Foo.java\n");
477+
assertThat(out.toString()).isEqualTo("Foo.java" + System.lineSeparator());
478478
}
479479
}

0 commit comments

Comments
 (0)