Skip to content

Commit be74cb6

Browse files
committed
accounting for newline differences
1 parent 746d89b commit be74cb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/ldiamond/archunittest/TestArchitectureUnitTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ class TestArchitectureUnitTest {
195195
boolean rightLength = false;
196196
if (ae.toString().length() == 594) {
197197
rightLength = true;
198-
} else if (ae.toString().length() == 593) {
198+
} else if (ae.toString().length() == 592) {
199199
// on some systems the line endings are different so we allow for that
200200
rightLength = true;
201201
}
@@ -236,7 +236,7 @@ class TestArchitectureUnitTest {
236236
boolean rightLength = false;
237237
if (ae.toString().length() == 812) {
238238
rightLength = true;
239-
} else if (ae.toString().length() == 811) {
239+
} else if (ae.toString().length() == 810) {
240240
// on some systems the line endings are different so we allow for that
241241
rightLength = true;
242242
}

0 commit comments

Comments
 (0)