File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/test/scala/com/github/swagger/scala/converter Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,10 @@ class ScalaModelTest extends AnyFlatSpec with Matchers {
4040 val schemas = ModelConverters .getInstance().readAll(classOf [ModelWithTestEnum ]).asScala
4141 val userSchema = schemas(" ModelWithTestEnum" )
4242
43- val orderSize = userSchema.getProperties().get(" enum" )
44- orderSize should not be null
45- orderSize shouldBe a [StringSchema ]
46- val sp = orderSize .asInstanceOf [StringSchema ]
43+ val enum = userSchema.getProperties().get(" enum" )
44+ enum should not be null
45+ enum shouldBe a [StringSchema ]
46+ val sp = enum .asInstanceOf [StringSchema ]
4747 Option (sp.getEnum) shouldBe defined
4848 sp.getEnum().asScala.toSet shouldEqual Set (" a" , " b" )
4949 }
You can’t perform that action at this time.
0 commit comments