4
0
Fork 0
mirror of https://github.com/Anvilcraft/modpacktools synced 2024-05-19 11:54:20 +02:00
modpacktools/src/test/kotlin/ley/anvil/modpacktools/util/BuilderContainerTagTest.kt
LordMZTE 4944f7c934 add BuilderContainerTagTest.kt
move convertAStoManifest into ASUtil.kt
convertAStoManifest will throw exception if forge version is invalid
add out to gitignore
2020-08-18 21:46:21 +02:00

20 lines
448 B
Kotlin

package ley.anvil.modpacktools.util
import ley.anvil.modpacktools.util.BuilderContainerTag.Companion.html
import org.junit.Assert.assertEquals
import org.junit.Test
class BuilderContainerTagTest {
@Test
fun htmlBuilder() {
assertEquals(
"<html><body><h1>Hello</h1></body></html>",
html {
"body" {
"h1"("Hello")
}
}.render()
)
}
}