Skip to content

Commit

Permalink
minor: update testClassFanOutComplexityRemoveIncorrectTypeParameter t…
Browse files Browse the repository at this point in the history
…o use 'addProperty'
  • Loading branch information
nrmancuso authored and romani committed Jul 18, 2021
1 parent 9666531 commit b557d01
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ public void testClassFanOutComplexityRemoveIncorrectAnnotationToken() throws Exc
public void testClassFanOutComplexityRemoveIncorrectTypeParameter() throws Exception {
final DefaultConfiguration checkConfig =
createModuleConfig(ClassFanOutComplexityCheck.class);
checkConfig.addAttribute("max", "1");
checkConfig.addProperty("max", "1");
final String[] expected = CommonUtil.EMPTY_STRING_ARRAY;
verify(checkConfig,
getPath("InputClassFanOutComplexityRemoveIncorrectTypeParameter.java"), expected);
Expand Down

0 comments on commit b557d01

Please sign in to comment.