Merge pull request #5340 from eed3si9n/wip/bumpsbt

sbt 1.3.6
This commit is contained in:
eugene yokota 2019-12-27 17:15:13 -05:00 committed by GitHub
commit 5aed0bb06d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@ class ErrorSpec extends AbstractSpec {
"Parser " should {
"contains file name and line number" in {
val rootPath = getClass.getClassLoader.getResource("").getPath + "/error-format/"
val rootPath = getClass.getResource("/error-format/").getPath
println(s"Reading files from: $rootPath")
foreach(new File(rootPath).listFiles) { file =>
print(s"Processing ${file.getName}: ")

View File

@ -22,7 +22,7 @@ class NewFormatSpec extends AbstractSpec {
"New Format " should {
"Handle lines " in {
val rootPath = getClass.getClassLoader.getResource("").getPath + "/new-format/"
val rootPath = getClass.getResource("/new-format").getPath
println(s"Reading files from: $rootPath")
val allFiles = new File(rootPath).listFiles.toList
foreach(allFiles) { path =>

View File

@ -18,7 +18,7 @@ import scala.io.Source
import SessionSettings.SessionSetting
abstract class AbstractSessionSettingsSpec(folder: String) extends AbstractSpec {
protected val rootPath = getClass.getClassLoader.getResource("").getPath + folder
protected val rootPath = getClass.getResource("/" + folder).getPath
println(s"Reading files from: $rootPath")
protected val rootDir = new File(rootPath)

View File

@ -1 +1 @@
sbt.version=1.3.4
sbt.version=1.3.6