@@ -28,7 +28,8 @@ class CompletionScalaCliSuite extends BaseCompletionSuite:
28
28
|// //> using lib ???
29
29
|//> using lib io.circe::circe-core_native0.4
30
30
|package A
31
- |""" .stripMargin
31
+ |""" .stripMargin,
32
+ assertSingleItem = false
32
33
)
33
34
34
35
@ Test def `version-sort` =
@@ -51,6 +52,9 @@ class CompletionScalaCliSuite extends BaseCompletionSuite:
51
52
""" |circe-core_native0.4_2.12
52
53
|circe-core_native0.4_2.13
53
54
|circe-core_native0.4_3
55
+ |circe-core_native0.5_2.12
56
+ |circe-core_native0.5_2.13
57
+ |circe-core_native0.5_3
54
58
|""" .stripMargin
55
59
)
56
60
@@ -78,7 +82,9 @@ class CompletionScalaCliSuite extends BaseCompletionSuite:
78
82
""" |//> using lib "io.circe::circe-core:0.14.0", "io.circe::circe-core_na@@"
79
83
|package A
80
84
|""" .stripMargin,
81
- " circe-core_native0.4"
85
+ """ circe-core_native0.4
86
+ |circe-core_native0.5
87
+ |""" .stripMargin
82
88
)
83
89
84
90
@ Test def `script` =
@@ -92,6 +98,9 @@ class CompletionScalaCliSuite extends BaseCompletionSuite:
92
98
""" |circe-core_native0.4_2.12
93
99
|circe-core_native0.4_2.13
94
100
|circe-core_native0.4_3
101
+ |circe-core_native0.5_2.12
102
+ |circe-core_native0.5_2.13
103
+ |circe-core_native0.5_3
95
104
|""" .stripMargin,
96
105
filename = " script.sc.scala" ,
97
106
enablePackageWrap = false
@@ -138,7 +147,8 @@ class CompletionScalaCliSuite extends BaseCompletionSuite:
138
147
""" |//> using libs "io.circe::circe-core:0.14.0", "io.circe::circe-core_na@@"
139
148
|package A
140
149
|""" .stripMargin,
141
- " circe-core_native0.4"
150
+ """ circe-core_native0.4
151
+ |circe-core_native0.5""" .stripMargin
142
152
)
143
153
144
154
private def scriptWrapper (code : String , filename : String ): String =
0 commit comments