All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jvmTest.com.bkahlert.kommons.test.SLF4JTest.kt Maven / Gradle / Ivy

There is a newer version: 2.8.0
Show newest version
package com.bkahlert.kommons.test

import io.kotest.matchers.shouldBe
import org.junit.jupiter.api.Test

class SLF4JTest {

    @Test fun format() = test {
        SLF4J.format("A {} C {} E", "B", "D") shouldBe "A B C D E"
        SLF4J.format("A {} C {} E", "B", "D", "Z") shouldBe "A B C D E"
        SLF4J.format("A {} C {} E", "B") shouldBe "A B C {1} E"
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy