Skip to content

Commit c8a739a

Browse files
author
Marvin
committed
'Update Greeting and Test'
1 parent 83153ba commit c8a739a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ func main() {
4141
}
4242

4343
func greeting() string {
44-
greeting := "Greetings Daggernauts!"
44+
greeting := "Hello Marvin!"
4545
return fmt.Sprintf("{\"greeting\":\"%s\"}", greeting)
4646
}

main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
func TestGreeting(t *testing.T) {
1010
g := greeting()
11-
should := "{\"greeting\":\"Greetings Daggernauts!\"}"
11+
should := "{\"greeting\":\"Hello Marvin!\"}"
1212

1313
assert.Equal(t, should, g)
1414
}

0 commit comments

Comments
 (0)