Moved opening bracket up with class definition

This commit is contained in:
Jordan Simpson 2020-06-29 12:05:00 -05:00 committed by GitHub
parent 85acab7915
commit 762797c29d
1 changed files with 2 additions and 2 deletions

View File

@ -4,8 +4,8 @@ import static org.assertj.core.api.Assertions.assertThat;
import org.junit.Test; import org.junit.Test;
public class StringToBooleanUnitTest public class StringToBooleanUnitTest {
{
@Test @Test
public void givenStringTrue_whenUsingParseBoolean_thenTrue() { public void givenStringTrue_whenUsingParseBoolean_thenTrue() {
assertThat(Boolean.parseBoolean("true")).isTrue(); assertThat(Boolean.parseBoolean("true")).isTrue();