forked from checkstyle/checkstyle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue checkstyle#11446: Update TestTabViolation Method Of Checkertest
- Loading branch information
1 parent
28e85b7
commit b98957c
Showing
3 changed files
with
20 additions
and
11 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
16 changes: 13 additions & 3 deletions
16
src/test/resources/com/puppycrawl/tools/checkstyle/checker/InputCheckerTabCharacter.txt
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 |
---|---|---|
@@ -1,3 +1,13 @@ | ||
//has no tabs | ||
//has tab | ||
//has 2 tabs | ||
/* | ||
com.puppycrawl.tools.checkstyle.CheckerTest$VerifyPositionAfterTabFileSet | ||
|
||
*/ | ||
|
||
// has no tabs | ||
line1 | ||
|
||
// has a tab | ||
line4 // violation | ||
|
||
// has 2 tabs | ||
line5 // violation // violation |