From ad484b4025a699d876861d94165e080022b0f9be Mon Sep 17 00:00:00 2001 From: Viktor Farcic Date: Wed, 20 May 2020 16:11:45 +0200 Subject: [PATCH] This is a PR --- main.go | 2 +- main_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index bf388a979..f464806e2 100644 --- a/main.go +++ b/main.go @@ -92,7 +92,7 @@ func HelloServer(w http.ResponseWriter, req *http.Request) { delayNum, _ := strconv.Atoi(delay) sleep(time.Duration(delayNum) * time.Millisecond) } - io.WriteString(w, "hello, PR!\n") + io.WriteString(w, "hello, PR not again!\n") } func RandomErrorServer(w http.ResponseWriter, req *http.Request) { diff --git a/main_test.go b/main_test.go index 6ea073a0b..f942b2683 100644 --- a/main_test.go +++ b/main_test.go @@ -88,7 +88,7 @@ func (s *MainTestSuite) Test_HelloServer_WritesHelloWorld() { HelloServer(w, req) - w.AssertCalled(s.T(), "Write", []byte("hello, PR!\n")) + w.AssertCalled(s.T(), "Write", []byte("hello, PR not again!\n")) } func (s *MainTestSuite) Test_HelloServer_Waits_WhenDelayIsPresent() {