mirror of
https://github.com/wahyd4/github-action-spike.git
synced 2026-08-09 05:06:43 +10:00
19 lines
279 B
Go
19 lines
279 B
Go
package spike
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func A_Test(t *testing.T) {
|
|
a := "he2llo"
|
|
if a != hello() {
|
|
t.Errorf("a %v is not what we expected %v ", a, "hello")
|
|
}
|
|
}
|
|
|
|
func Test(t *testing.T) {
|
|
assert.NotNil(t, 123, "It Should not be nil")
|
|
}
|