feudal/subjects/subjects_test.go

21 lines
277 B
Go
Raw Permalink Normal View History

2024-05-05 07:33:44 +00:00
package subjects
import (
"log"
"testing"
"feudal/feudal"
)
func setupSubjects() feudal.Subjects {
s := New()
if s == nil {
log.Fatal("Failed creating new Subjects")
}
return s
}
func TestSubjectsSend(t *testing.T) {
s := setupSubjects()
s.Send(nil)
}