mirror of https://github.com/sbt/sbt.git
18 lines
411 B
Scala
18 lines
411 B
Scala
/*
|
|
* sbt
|
|
* Copyright 2023, Scala center
|
|
* Copyright 2011 - 2022, Lightbend, Inc.
|
|
* Copyright 2008 - 2010, Mark Harrah
|
|
* Licensed under Apache License 2.0 (see LICENSE)
|
|
*/
|
|
|
|
package sbt
|
|
|
|
object ProjectSpec extends verify.BasicTestSuite {
|
|
test("Project should normalize projectIDs if they are empty") {
|
|
assert(Project.normalizeProjectID(emptyFilename) == Right("root"))
|
|
}
|
|
|
|
def emptyFilename = ""
|
|
}
|