commit 9141b1f0066367db1d0a180313088109fabd7924
parent 79acdf6dfeadb0227b16347ab1476627ae387685
Author: MS <ms@taler.net>
Date: Thu, 12 Jan 2023 18:48:42 +0100
ignoring assert-less test
Diffstat:
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/util/src/test/kotlin/TimeTest.kt b/util/src/test/kotlin/TimeTest.kt
@@ -1,3 +1,4 @@
+import org.junit.Ignore
import org.junit.Test
import tech.libeufin.util.getNow
import tech.libeufin.util.setClock
@@ -6,6 +7,8 @@ import java.time.format.DateTimeFormatter
// https://stackoverflow.com/questions/32437550/whats-the-difference-between-instant-and-localdatetime
+// Ignoring because no assert takes place here.
+@Ignore
class TimeTest {
@Test
fun mock() {
@@ -27,6 +30,13 @@ class TimeTest {
}
@Test
+ fun printLong() {
+ val l = 1111111L
+ println(l.javaClass)
+ println(l.toString())
+ }
+
+ @Test
fun formatDateTime() {
fun formatDashed(dateTime: LocalDateTime): String {
val dtf = DateTimeFormatter.ISO_LOCAL_DATE