File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/kotlin/wu/seal/jsontokotlin/interceptor Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,16 +17,16 @@ class MakeKeywordNamedPropertyValidInterceptorTest {
1717
1818 @Test
1919 fun intercept () {
20- val toBeParsedCode = """ data class (val in: String,
20+ val toBeParsedCode = """ data class A (val in: String,
2121 val as: Int,
2222 val dupa: Double
2323)"""
2424 val kotlinDataClass = KotlinDataClass .fromParsedKotlinDataClass(ClassCodeParser (toBeParsedCode).getKotlinDataClass())
2525 val intercepted = MakeKeywordNamedPropertyValidInterceptor ().intercept(kotlinDataClass)
26- intercepted.getCode().should.be.equal(""" data class (
26+ intercepted.getCode().should.be.equal(""" data class A (
2727 val `in`: String,
2828 val `as`: Int,
2929 val dupa: Double
3030)""" )
3131 }
32- }
32+ }
You can’t perform that action at this time.
0 commit comments