Refactor test msg string build
authorSiraaj Khandkar <siraaj@khandkar.net>
Mon, 23 Nov 2020 12:17:40 +0000 (07:17 -0500)
committerSiraaj Khandkar <siraaj@khandkar.net>
Mon, 23 Nov 2020 12:17:40 +0000 (07:17 -0500)
tt.rkt

diff --git a/tt.rkt b/tt.rkt
index f444926..f95de28 100644 (file)
--- a/tt.rkt
+++ b/tt.rkt
                 [text     "Lorem ipsum"]
                 [nick     "foo"]
                 [uri      "bar"]
-                [actual   (str->msg nick uri (string-join (list ts text) tab))]
+                [actual   (str->msg nick uri (string-append ts tab text))]
                 [expected (msg 1605756129 ts nick uri text)])
                ; FIXME re-enable after handling tz offset
                ;(check-equal?
This page took 0.027272 seconds and 4 git commands to generate.