Skip to content

Commit d928cf6

Browse files
committed
Fix Spotless violation
1 parent 85ccf17 commit d928cf6

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

documentation/src/test/kotlin/example/KotlinCoroutinesDemo.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,13 @@ import org.junit.jupiter.api.BeforeEach
1414
import org.junit.jupiter.api.Test
1515

1616
// end::user_guide[]
17+
// @formatter:off
1718
@Suppress("JUnitMalformedDeclaration")
1819
// tag::user_guide[]
1920
class KotlinCoroutinesDemo {
21+
// end::user_guide[]
22+
// @formatter:on
23+
// tag::user_guide[]
2024
@BeforeEach
2125
fun regularSetUp() {
2226
}

gradle/plugins/common/src/main/kotlin/junitbuild.spotless-conventions.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ spotless {
5858
licenseHeaderFile(license.headerFile)
5959
trimTrailingWhitespace()
6060
endWithNewline()
61+
toggleOffOn("formatter:off", "formatter:on")
6162
}
6263
}
6364

0 commit comments

Comments
 (0)