Skip to content

Commit

Permalink
fix the correct message for junit5
Browse files Browse the repository at this point in the history
  • Loading branch information
mebigfatguy committed Nov 1, 2024
1 parent 80471c9 commit a09681a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public void visitCode(Code obj) {

if (!sawAssert && !hasExpects()) {
bugReporter.reportBug(new BugInstance(this,
frameworkType == TestFrameworkType.JUNIT
(frameworkType == TestFrameworkType.JUNIT || frameworkType == TestFrameworkType.JUNIT5)
? BugType.UTAO_JUNIT_ASSERTION_ODDITIES_NO_ASSERT.name()
: BugType.UTAO_TESTNG_ASSERTION_ODDITIES_NO_ASSERT.name(),
LOW_PRIORITY).addClass(this).addMethod(this));
Expand Down

0 comments on commit a09681a

Please sign in to comment.