Skip to content

Commit

Permalink
update greeting
Browse files Browse the repository at this point in the history
Signed-off-by: Kyle Penfound <[email protected]>
  • Loading branch information
kpenfound committed Feb 26, 2024
1 parent d45471f commit 8b22659
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ func main() {
}

func greeting() string {
greeting := "Hello Kubecon!"
greeting := "Hello Daggernauts!"
return fmt.Sprintf("{\"greeting\":\"%s\"}", greeting)
}
2 changes: 1 addition & 1 deletion main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

func TestGreeting(t *testing.T) {
g := greeting()
should := "{\"greeting\":\"Hello Kubecon!\"}"
should := "{\"greeting\":\"Hello Daggernauts!\"}"

assert.Equal(t, should, g)
}

0 comments on commit 8b22659

Please sign in to comment.