Enhanced: renamed a function
This commit is contained in:
parent
7a9738b4bb
commit
3997dcc8e2
|
@ -99,7 +99,7 @@ public class CharacterEncodingExamplesUnitTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void givenTextFile_whenFindSuitableCandidateEncodings_thenProduceSuitableCandidateEncodings() {
|
public void givenTextFile_whenLoopOverAllCandidateEncodings_thenProduceSuitableCandidateEncodings() {
|
||||||
Path path = Paths.get("src/test/resources/encoding.txt");
|
Path path = Paths.get("src/test/resources/encoding.txt");
|
||||||
List<Charset> allCandidateCharSets = Arrays.asList(
|
List<Charset> allCandidateCharSets = Arrays.asList(
|
||||||
StandardCharsets.US_ASCII, StandardCharsets.UTF_8, StandardCharsets.ISO_8859_1);
|
StandardCharsets.US_ASCII, StandardCharsets.UTF_8, StandardCharsets.ISO_8859_1);
|
||||||
|
|
Loading…
Reference in New Issue