Fixed indentation in IndentationCheckTest :)

This commit is contained in:
Oleg Sukhodolsky 2011-10-28 23:59:55 +04:00
parent 09f1ba2f35
commit 654525b1a7
1 changed files with 4 additions and 2 deletions

View File

@ -21,6 +21,7 @@ package com.puppycrawl.tools.checkstyle.checks.indentation;
import com.puppycrawl.tools.checkstyle.BaseCheckTestSupport;
import com.puppycrawl.tools.checkstyle.Checker;
import com.puppycrawl.tools.checkstyle.DefaultConfiguration;
import org.junit.Ignore;
import org.junit.Test;
/**
@ -733,13 +734,14 @@ public class IndentationCheckTest extends BaseCheckTestSupport
}
@Test
@Ignore
public void testTryResources() throws Exception
{
final DefaultConfiguration checkConfig =
createCheckConfig(IndentationCheck.class);
final String[] expected = {
"something is expected, but there is a NullPointerException",
};
"something is expected, but there is a NullPointerException",
};
verify(checkConfig, getPath("indentation/InputValidTryResourcesIndent.java"),
expected);
}