From: Siraaj Khandkar Date: Wed, 18 Nov 2020 13:22:16 +0000 (-0500) Subject: Setup testing X-Git-Tag: 0.3.5~10 X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=78398948dd83a319ed91a2fa8d843fbf30af39bc;p=tt.git Setup testing --- diff --git a/Makefile b/Makefile index bced2e6..c2d3dd1 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,10 @@ install: raco pkg install +.PHONY: test +test: + raco test ./tt.rkt + .PHONY: remove remove: raco pkg remove tt diff --git a/tt.rkt b/tt.rkt index b11364f..c606b2e 100644 --- a/tt.rkt +++ b/tt.rkt @@ -43,6 +43,9 @@ (require http-client) (require rfc3339-old) +(module+ test + (require rackunit)) + (struct msg (ts_epoch ts_rfc3339 nick uri text)) (struct feed (nick uri))