Skip to content

Commit 9834059

Browse files
committed
Fixed BasicScalaGeneratorTest to expect Some(List)
1 parent 550fade commit 9834059

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/scala/BasicScalaGeneratorTest.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ class BasicScalaGeneratorTest extends FlatSpec with ShouldMatchers {
211211
m("returnType") should be (Some("List[Pet]"))
212212
m("returnTypeIsPrimitive") should be (None)
213213
m("pathParams").asInstanceOf[List[_]].size should be (0)
214-
m("returnContainer") should be ("List")
214+
m("returnContainer") should be (Some("List"))
215215
m("requiredParamCount") should be ("1")
216216

217217
val queryParams = m("queryParams").asInstanceOf[List[_]]
@@ -248,7 +248,7 @@ class BasicScalaGeneratorTest extends FlatSpec with ShouldMatchers {
248248
m("returnType") should be (Some("List[Pet]"))
249249
m("returnTypeIsPrimitive") should be (None)
250250
m("pathParams").asInstanceOf[List[_]].size should be (0)
251-
m("returnContainer") should be ("List")
251+
m("returnContainer") should be (Some("List"))
252252
m("requiredParamCount") should be ("1")
253253

254254
val queryParams = m("queryParams").asInstanceOf[List[_]]

0 commit comments

Comments
 (0)