Skip to content

Commit 023cbd2

Browse files
Stop using deprecated utest syntax
1 parent a6aa846 commit 023cbd2

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

interpolators/src/test/scala/coursierapi/InterpolatorTests.scala

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,33 @@ import utest._
66
object InterpolatorTests extends TestSuite {
77

88
val tests = Tests {
9-
'module - {
10-
* - {
9+
test("module") {
10+
test {
1111
val mod = mod"some.org:a-module"
1212
val expectedMod = Module.of("some.org", "a-module")
1313
assert(mod == expectedMod)
1414
}
1515
}
1616

17-
'dependency - {
18-
* - {
17+
test("dependency") {
18+
test {
1919
val dep = dep"some.org:a-module:0.1.2"
2020
val expectedDep = Dependency.of("some.org", "a-module", "0.1.2")
2121
assert(dep == expectedDep)
2222
}
2323
}
2424

25-
'repository - {
26-
'maven - {
27-
* - {
25+
test("repository") {
26+
test("maven") {
27+
test {
2828
val repo = mvn"https://artifacts.com.pany/maven"
2929
val expectedRepo = MavenRepository.of("https://artifacts.com.pany/maven")
3030
assert(repo == expectedRepo)
3131
}
3232
}
3333

34-
'ivy - {
35-
* - {
34+
test("ivy") {
35+
test {
3636
val repo = ivy"https://foo.com/a/b/c/[defaultPattern]"
3737
val expectedRepo = IvyRepository.of("https://foo.com/a/b/c/[defaultPattern]")
3838
assert(repo == expectedRepo)

0 commit comments

Comments
 (0)