mirror of https://github.com/sbt/sbt.git
Fix ConfigMacroTest
This commit is contained in:
parent
d0003bbb0f
commit
2fc78b4033
|
|
@ -6,8 +6,8 @@ import org.scalatest.matchers.should.Matchers
|
|||
class ConfigMacroTest extends AnyFunSpec with Matchers {
|
||||
describe("Configurations.config") {
|
||||
it("should validate the ID in compile time") {
|
||||
"""val A = config("a")""" should compile
|
||||
"""val b = config("b")""" shouldNot compile
|
||||
"""val A = Configurations.config("a")""" should compile
|
||||
"""val b = Configurations.config("b")""" shouldNot compile
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue