Skip to content

Commit

Permalink
Use kotlin.test everywhere (#259)
Browse files Browse the repository at this point in the history
Co-authored-by: hfhbd <[email protected]>
  • Loading branch information
hfhbd and hfhbd authored Feb 21, 2024
1 parent 76eebcc commit 074bc1e
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)
}
}
Loading

0 comments on commit 074bc1e

Please sign in to comment.