Indentation. Fix for testBraceAdjustment unit test.

This commit is contained in:
Oleg Sukhodolsky 2003-06-05 11:33:47 +00:00
parent 0ddd77847d
commit 4f892fe43a
2 changed files with 2 additions and 2 deletions

View File

@ -204,7 +204,7 @@ public class BlockParentHandler extends ExpressionHandler
{
return;
}
logError(rcurly, "rcurly", expandedTabsColumnNo(rcurly));
logError(rcurly, "rcurly", expandedTabsColumnNo(rcurly), curlyLevel());
}
/**

View File

@ -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);
}