-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1fe5103
commit 7a93993
Showing
2 changed files
with
13 additions
and
7 deletions.
There are no files selected for viewing
13 changes: 10 additions & 3 deletions
13
...kotlin-diktat/fix/smoke/src/main/kotlin/com/saveourtool/save/chapter2/Example1Expected.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
package com.saveourtool.save.chapter2 | ||
|
||
class Example { | ||
@get:JvmName("getIsValid") | ||
val isValid = true | ||
class D { | ||
val x = 0 | ||
|
||
/** | ||
* @return | ||
*/ | ||
fun bar(): Bar { | ||
val qux = 42 | ||
return Bar(qux) | ||
} | ||
} |
7 changes: 3 additions & 4 deletions
7
...les/kotlin-diktat/fix/smoke/src/main/kotlin/com/saveourtool/save/chapter2/Example1Test.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
package test.smoke | ||
|
||
class example { | ||
@get : JvmName("getIsValid") | ||
val isValid = true | ||
} | ||
class D {val x = 0 | ||
fun bar(): Bar {val qux = 42; return Bar(qux)} | ||
} |