Skip to content

Commit

Permalink
Use kotlin.test everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
hfhbd committed Feb 10, 2024
1 parent 6c926dd commit 828baca
Show file tree
Hide file tree
Showing 13 changed files with 321 additions and 333 deletions.
3 changes: 1 addition & 2 deletions buildSrc/src/main/kotlin/kotlinx/html/generate/main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@ private fun generateTagTests(repository: Repository, filePath: String, defaultTa
writeKotlinPoet {
addImport("kotlinx.browser", "document")
addImport("kotlinx.html.dom", "append")
addAliasedImport(ClassName("kotlin.test", "Test"), "test")
addType(
TypeSpec
.classBuilder("JsTagCastTests")
Expand Down Expand Up @@ -379,4 +378,4 @@ private fun Appendable.writeKotlinPoet(builder: FileSpec.Builder.() -> Unit) {
.apply(builder)
.build()
.writeTo(this)
}
}

0 comments on commit 828baca

Please sign in to comment.