Fix ConfigMacroTest

This commit is contained in:
Adrien Piquerez 2024-10-11 11:14:37 +02:00
parent d0003bbb0f
commit 2fc78b4033
1 changed files with 2 additions and 2 deletions

View File

@ -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
}
}
}