Rename original module

This commit is contained in:
Timothy Warren 2023-09-29 11:05:01 -04:00
parent f39c5778ce
commit 938de9634c
4 changed files with 6 additions and 6 deletions

View File

@ -1,3 +0,0 @@
module hello
go 1.21.1

3
helloworld/go.mod Normal file
View File

@ -0,0 +1,3 @@
module helloworld
go 1.21.1

View File

@ -1,4 +1,4 @@
package main
package helloworld
import "fmt"

View File

@ -1,9 +1,9 @@
package main
package helloworld
import "testing"
func TestHello(t *testing.T) {
t.Run("saying hello to people", func(t *testing.T) {
t.Run("saying helloworld to people", func(t *testing.T) {
got := Hello("Chris", "")
want := "Hello, Chris"
assertCorrectMessage(t, got, want)