Skip to content

Commit 721aadd

Browse files
committed
Upd method name
1 parent 93b7716 commit 721aadd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.test/src/test/kotlin/com/igorwojda/challenge/ProjectConsistencyTest.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,17 +65,17 @@ class ProjectConsistencyTest {
6565
companion object {
6666
@JvmStatic
6767
fun getSolutionFiles() = TestUtils
68-
.getChellengeDirectories()
68+
.challengeDirectories()
6969
.map { KotlinParserUtils.getChallengeKtFile(it, ChallengeFile.SOLUTIONS_KT) }
7070

7171
@JvmStatic
7272
fun getChallenge() = TestUtils
73-
.getChellengeDirectories()
73+
.challengeDirectories()
7474
.map { KotlinParserUtils.getChallengeKtFile(it, ChallengeFile.CHALLENGE_KT) }
7575

7676
@JvmStatic
7777
fun getChallengeRequiredFilePaths() = TestUtils
78-
.getChellengeDirectories()
78+
.challengeDirectories()
7979
.flatMap { getProjectRequiredFiles(it) }
8080

8181
private fun getProjectRequiredFiles(challengeDirectory: File) = ChallengeFile

.test/src/test/kotlin/com/igorwojda/challenge/utils/TestUtils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ object TestUtils {
1515
/**
1616
* Return list of project names
1717
*/
18-
fun getChellengeDirectories(): List<File> {
18+
fun challengeDirectories(): List<File> {
1919
val path = "${repoRootDirectoryFile.path}/src/test/kotlin/com/igorwojda"
2020
val directory = File(path)
2121
val miscDirectoryName = "misc"

0 commit comments

Comments
 (0)