File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
main/kotlin/wu/seal/jsontokotlin
test/kotlin/wu/seal/jsontokotlin Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ class JsonToKotlinBuilder {
119119 return this
120120 }
121121
122- fun enabelMapType (isMapType : Boolean ): JsonToKotlinBuilder {
122+ fun enableMapType (isMapType : Boolean ): JsonToKotlinBuilder {
123123 TestConfig .enableMapType = isMapType
124124 return this
125125 }
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class JsonToKotlinBuilderTest {
3232 .enableComments(true ) // optional, default : false
3333 .enableOrderByAlphabetic(true ) // optional : default : false
3434 .enableInnerClassModel(true ) // optional, default : false
35- .enabelMapType (true )// optional, default : false
35+ .enableMapType (true )// optional, default : false
3636 .enableCreateAnnotationOnlyWhenNeeded(true ) // optional, default : false
3737 .setIndent(4 )// optional, default : 4
3838 .setParentClassTemplate(" android.os.Parcelable" ) // optional, default : ""
@@ -770,7 +770,7 @@ class JsonToKotlinBuilderTest {
770770 """ .trimIndent()
771771
772772 val actualOutput = JsonToKotlinBuilder ()
773- .enabelMapType (true )
773+ .enableMapType (true )
774774 .build(input, " Model" )
775775
776776 actualOutput.should.be.equal(expectedOutput)
You can’t perform that action at this time.
0 commit comments