mirror of
https://github.com/Anvilcraft/modpacktools
synced 2024-05-19 11:54:20 +02:00
LordMZTE
4944f7c934
move convertAStoManifest into ASUtil.kt convertAStoManifest will throw exception if forge version is invalid add out to gitignore
20 lines
448 B
Kotlin
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()
|
|
)
|
|
}
|
|
}
|