kotest-assertions-core / io.kotest.matchers.date / java.time.LocalDateTime / shouldBeToday

shouldBeToday

fun LocalDateTime.shouldBeToday(): Unit

Asserts that the LocalDateTime has a date component of today

    LocalDateTime.now().shouldBeToday() // Assertion passes