15 lines
226 B
Go
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")
|
||
|
}
|