From c0b1cb1552dbd2bf4cc0a3b2ecfbbce016175087 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BB=96=E5=AE=8F=E7=A5=90?= Date: Sat, 25 Apr 2026 16:43:33 +0800 Subject: [PATCH 1/2] change text --- CI-CD/examples/sample-app/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CI-CD/examples/sample-app/handler.go b/CI-CD/examples/sample-app/handler.go index e7a138a..28a58b3 100644 --- a/CI-CD/examples/sample-app/handler.go +++ b/CI-CD/examples/sample-app/handler.go @@ -8,7 +8,7 @@ import ( // handleRoot returns a greeting message. func handleRoot(w http.ResponseWriter, r *http.Request) { - if _, err := w.Write([]byte("Hello, GitHub Actions!")); err != nil { + if _, err := w.Write([]byte("Hello from HUNGYU")); err != nil { slog.Error("write response failed", "handler", "root", "error", err) } } From d3d84da136331d0ecac18ad1eca9f93d73fbef72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BB=96=E5=AE=8F=E7=A5=90?= Date: Sat, 25 Apr 2026 17:02:59 +0800 Subject: [PATCH 2/2] change test --- CI-CD/examples/sample-app/handler_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CI-CD/examples/sample-app/handler_test.go b/CI-CD/examples/sample-app/handler_test.go index 9b98db3..ceff24a 100644 --- a/CI-CD/examples/sample-app/handler_test.go +++ b/CI-CD/examples/sample-app/handler_test.go @@ -17,7 +17,7 @@ func TestHandleRoot(t *testing.T) { t.Errorf("expected status %d, got %d", http.StatusOK, rec.Code) } - expected := "Hello, GitHub Actions!" + expected := "Hello, from HUNGYU!" if rec.Body.String() != expected { t.Errorf("expected body %q, got %q", expected, rec.Body.String()) }