Skip to content

Commit

Permalink
Greet dev.to
Browse files Browse the repository at this point in the history
  • Loading branch information
brpaz committed Aug 17, 2019
1 parent be70ba8 commit f038656
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions hello/hello.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package hello

// Greet Greets GitHub Actions
func Greet() string {
return "Hello GitHub Actions"
}
return "Hello GitHub Actions. Dev.to is awesome"
}
10 changes: 5 additions & 5 deletions hello/hello_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package hello
import "testing"

func TestGreetsGitHub(t *testing.T) {
result := Greet()
if result != "Hello GitHub Actions" {
t.Errorf("Greet() = %s; want Hello GitHub actions", result)
}
}
result := Greet()
if result != "Hello GitHub Actions. Dev.to is awesome" {
t.Errorf("Greet() = %s; want Hello GitHub Actions. Dev.to is awesome", result)
}
}

0 comments on commit f038656

Please sign in to comment.