Skip to content

Commit

Permalink
Rename compliance test class
Browse files Browse the repository at this point in the history
  • Loading branch information
MinnDevelopment committed Oct 5, 2024
1 parent 06ca494 commit 4d4c5ef
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
import static com.tngtech.archunit.lang.syntax.ArchRuleDefinition.classes;
import static com.tngtech.archunit.lang.syntax.ArchRuleDefinition.methods;

public class RestActionComplianceTest
public class ArchUnitComplianceTest
{
final JavaClasses apiClasses = new ClassFileImporter().importPackages("net.dv8tion.jda.api");

Expand Down Expand Up @@ -93,7 +93,7 @@ void testMethodsThatReturnObjectShouldHaveNullabilityAnnotations()
}

@Test
void testMethodsThatReturnDoNotReturnObjectShouldNotHaveNullabilityAnnotations()
void testMethodsThatReturnPrimitivesShouldNotHaveNullabilityAnnotations()
{
methods()
.that()
Expand Down

0 comments on commit 4d4c5ef

Please sign in to comment.