Add Hello CodeMoon with test
This commit is contained in:
10
main_test.go
Normal file
10
main_test.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestHelloCodeMoon(t *testing.T) {
|
||||
assert.Equal(t, "Hello, CodeMoon!", HelloCodeMoon())
|
||||
}
|
Reference in New Issue
Block a user