Commit 1feba31
Changed files (1)
cmd
cmd/misc/shouldideploytoday_test.go
@@ -0,0 +1,16 @@
+package misc
+
+import (
+ "reflect"
+ "testing"
+)
+
+func TestShouldIDeployToday(t *testing.T) {
+ response, err := ShouldIDeployToday()
+ if err != nil {
+ t.Errorf("ShouldIDeployToday() error = %v", err)
+
+ } else if reflect.TypeOf(response.Message).Kind() != reflect.String {
+ t.Errorf("ShouldIDeployToday() does not return a string")
+ }
+}