优化:调整被测件问题所在行的行号

wuhaoyang
wuhaoyang 10 months ago
parent 3818b0832d
commit 89eee52523
  1. 2
      sonar-keyware-plugins-java/src/test/java/com/keyware/sonar/java/rules/checkers/PasswordInputTagCheckerTest.java

@ -30,6 +30,6 @@ public class PasswordInputTagCheckerTest {
HtmlSourceCode sourceCode = HtmlTestHelper.scan(new File("src/test/files/PasswordInputTagChecker.html"), new PasswordInputTagChecker()); HtmlSourceCode sourceCode = HtmlTestHelper.scan(new File("src/test/files/PasswordInputTagChecker.html"), new PasswordInputTagChecker());
checkMessagesVerifier.verify(sourceCode.getIssues()) checkMessagesVerifier.verify(sourceCode.getIssues())
.next().atLine(16); .next().atLine(9);
} }
} }

Loading…
Cancel
Save