Skip to content

Commit

Permalink
Enforce LF on VerifyApply fixtures to keep tests OS-agnostic
Browse files Browse the repository at this point in the history
  • Loading branch information
ParkerM committed Oct 21, 2022
1 parent 54910f9 commit 2544020
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Test resources that need a predictable eol
apply*/src/main/java/simple/Simple.java eol=lf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
*/
public class VerifyApply {

private static final String LF = System.lineSeparator();
private static final String LF = "\n";

private static final String JAVA_FILE = "src/main/java/simple/Simple.java";

Expand Down

0 comments on commit 2544020

Please sign in to comment.