Skip to content

Commit 2b0db7f

Browse files
committed
Apply formatting
Signed-off-by: Roland Weisleder <roland.weisleder@googlemail.com>
1 parent fb849bd commit 2b0db7f

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

lib-extra/src/main/java/com/diffplug/spotless/extra/GitAttributesLineEndings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2021 DiffPlug
2+
* Copyright 2016-2022 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

lib-extra/src/test/java/com/diffplug/spotless/extra/GitAttributesTest.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2021 DiffPlug
2+
* Copyright 2016-2022 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -95,10 +95,9 @@ void policyDefaultLineEndingTest() throws GitAPIException, IOException {
9595
Git git = Git.init().setDirectory(rootFolder()).call();
9696
git.close();
9797
setFile(".git/config").toContent(StringPrinter.buildStringFromLines(
98-
"[core]",
99-
"autocrlf=true",
100-
"eol=lf"
101-
));
98+
"[core]",
99+
"autocrlf=true",
100+
"eol=lf"));
102101
LineEnding.Policy policy = LineEnding.GIT_ATTRIBUTES.createPolicy(rootFolder(), () -> testFiles());
103102
Assertions.assertThat(policy.getEndingFor(newFile("someFile"))).isEqualTo("\r\n");
104103
}

0 commit comments

Comments
 (0)