communicate/events/result_test.go
2016-11-28 14:13:15 +09:00

15 lines
226 B
Go

package events
import (
"github.com/stretchr/testify/assert"
"testing"
)
func GetTempResult() Result {
return Result{Message: "Test"}
}
func TestResult(t *testing.T) {
assert.Equal(t, GetTempResult().Message, "Test")
}