interactions yay!!
This commit is contained in:
parent
b9a05bedf9
commit
f60033a3e4
30 changed files with 716 additions and 44 deletions
16
interactions/cmd_helloworld_test.go
Normal file
16
interactions/cmd_helloworld_test.go
Normal file
|
@ -0,0 +1,16 @@
|
|||
package interactions_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestCmdHelloWorld(t *testing.T) {
|
||||
i, _, _ := makeInteractions(t)
|
||||
ix := mkInteraction("hello-world")
|
||||
|
||||
ir, err := i.CmdHelloWorld(ix)
|
||||
assert.Nil(t, err)
|
||||
assert.Equal(t, "Hello world!", ir.Data.Content)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue