mirror of
https://github.com/lightbend/config.git
synced 2025-03-23 07:40:25 +08:00
Fix the directory names used in test suite for relocated sources
This commit is contained in:
parent
93b87097fd
commit
70fad92b50
@ -17,7 +17,7 @@ import org.junit.runners.AllTests
|
||||
class EquivalentsTest extends TestUtils {
|
||||
|
||||
private def equivDirs() = {
|
||||
val resourceDir = new File("src/test/resources")
|
||||
val resourceDir = new File("config/src/test/resources")
|
||||
if (!resourceDir.exists())
|
||||
throw new RuntimeException("This test can only be run from the project's root directory")
|
||||
val rawEquivs = resourceDir.listFiles()
|
||||
|
@ -221,7 +221,7 @@ class PublicApiTest extends TestUtils {
|
||||
}
|
||||
|
||||
private def resourceFile(filename: String) = {
|
||||
val resourceDir = new File("src/test/resources")
|
||||
val resourceDir = new File("config/src/test/resources")
|
||||
if (!resourceDir.exists())
|
||||
throw new RuntimeException("This test can only be run from the project's root directory")
|
||||
new File(resourceDir, filename)
|
||||
|
Loading…
Reference in New Issue
Block a user