-
Notifications
You must be signed in to change notification settings - Fork 507
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return the unmodified filename from the baseline (#1972)
Closes #1962
- Loading branch information
1 parent
e62e569
commit d195ffd
Showing
4 changed files
with
123 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
ktlint-cli/src/test/resources/cli/baseline/config/test-baseline.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<baseline version="1.0"> | ||
<file name="TestBaselineFile.kt.test"> | ||
<error line="1" column="24" source="no-empty-class-body" /> | ||
<error line="2" column="1" source="no-blank-line-before-rbrace" /> | ||
</file> | ||
<file name="TestBaselineExtraErrorFile.kt.test"> | ||
<error line="1" column="34" source="no-empty-class-body" /> | ||
</file> | ||
<file name="some/path/to/TestBaselineFile2.kt.test"> | ||
<error line="1" column="25" source="no-empty-class-body" /> | ||
<error line="2" column="1" source="no-blank-line-before-rbrace" /> | ||
</file> | ||
<file name="some/path/to/TestBaselineExtraErrorFile2.kt.test"> | ||
<error line="1" column="35" source="no-empty-class-body" /> | ||
</file> | ||
</baseline> |