Add Hello CodeMoon with test

This commit is contained in:
Jan-Eric Hellenberg
2021-04-23 15:16:29 +02:00
parent 88e4cb5b0b
commit be93c36cc8
6 changed files with 50 additions and 0 deletions

10
main_test.go Normal file
View 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())
}