Skip to content

Commit f21b792

Browse files
committed
refactor
1 parent 0f3b6c6 commit f21b792

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

src/test/java/org/scm4j/commons/regexconfig/RegexConfigTest.java

+6-12
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
package org.scm4j.commons.regexconfig;
22

3-
import org.apache.commons.io.FileUtils;
4-
import org.apache.commons.lang3.StringUtils;
5-
import org.junit.Before;
6-
import org.junit.Test;
7-
import org.scm4j.commons.EConfig;
8-
import org.yaml.snakeyaml.Yaml;
3+
import static org.junit.Assert.assertEquals;
4+
import static org.junit.Assert.assertTrue;
5+
import static org.junit.Assert.fail;
96

10-
import java.io.File;
117
import java.io.IOException;
12-
import java.nio.charset.StandardCharsets;
138

14-
import static org.junit.Assert.*;
9+
import org.junit.Before;
10+
import org.junit.Test;
11+
import org.scm4j.commons.EConfig;
1512

1613
public class RegexConfigTest {
1714

@@ -69,9 +66,6 @@ public void testWrongContent() throws IOException {
6966
config.loadFromYamlUrls(wrongContent);
7067
fail();
7168
} catch (EConfig e) {
72-
7369
}
7470
}
75-
76-
7771
}

0 commit comments

Comments
 (0)