Skip to content

Commit

Permalink
Rename method to set test directory
Browse files Browse the repository at this point in the history
  • Loading branch information
darivs authored and rubengees committed Aug 24, 2021
1 parent 73139bb commit 110d464
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ fun Config.mergeTag(tag: String): Config = withValue(TAGS, ConfigValueFactory.fr
/**
* Sets the given [testDir].
*/
fun Config.setTestDir(testDir: Path): Config = withValue(
fun Config.withTestDir(testDir: Path): Config = withValue(
TEST_DIRECTORY,
ConfigValueFactory.fromAnyRef(testDir.toString())
)
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/de/smartsquare/squit/config/TestIndexer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class TestIndexer(private val projectConfig: Config) {
}
.let {
projectConfig
.setTestDir(path)
.withTestDir(path)
.withFallback(it)
}
}
Expand Down

0 comments on commit 110d464

Please # to comment.