Indentation. Fix for testBraceAdjustment unit test.
This commit is contained in:
parent
0ddd77847d
commit
4f892fe43a
|
|
@ -204,7 +204,7 @@ public class BlockParentHandler extends ExpressionHandler
|
|||
{
|
||||
return;
|
||||
}
|
||||
logError(rcurly, "rcurly", expandedTabsColumnNo(rcurly));
|
||||
logError(rcurly, "rcurly", expandedTabsColumnNo(rcurly), curlyLevel());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -654,7 +654,7 @@ public class IndentationCheckTest extends BaseCheckTestCase {
|
|||
final DefaultConfiguration checkConfig = createCheckConfig(IndentationCheck.class);
|
||||
checkConfig.addAttribute("braceAdjustment", new Integer(2).toString());
|
||||
final String[] expected = {
|
||||
"24: if rcurly at indentation level 8 not at correct indentation, 8",
|
||||
"24: if rcurly at indentation level 8 not at correct indentation, 10",
|
||||
};
|
||||
verify(checkConfig, getPath("indentation/InputBraceAdjustment.java"), expected);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue