From a81adb6ab8c4e1fe75964bbb4345b79b12b1f441 Mon Sep 17 00:00:00 2001 From: Josh W Lewis Date: Thu, 12 Dec 2024 11:21:44 -0600 Subject: [PATCH] Update fixtures and test for process changes --- buildpacks/go/CHANGELOG.md | 3 +-- buildpacks/go/tests/fixtures/procfile_http_123/go.mod | 2 +- buildpacks/go/tests/fixtures/procfile_http_123/main.go | 2 +- buildpacks/go/tests/integration_test.rs | 1 + 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/buildpacks/go/CHANGELOG.md b/buildpacks/go/CHANGELOG.md index ed0ae5b3..e62ce686 100644 --- a/buildpacks/go/CHANGELOG.md +++ b/buildpacks/go/CHANGELOG.md @@ -7,8 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -- Now prefers processes set by Procfile, and no longer adds it's own processes - if a Procfile is present. +- Now prefers processes set by Procfile, and no longer adds it's own processes if a Procfile is present. ## [0.4.7] - 2024-12-06 diff --git a/buildpacks/go/tests/fixtures/procfile_http_123/go.mod b/buildpacks/go/tests/fixtures/procfile_http_123/go.mod index f56a0d2e..e14d58fe 100644 --- a/buildpacks/go/tests/fixtures/procfile_http_123/go.mod +++ b/buildpacks/go/tests/fixtures/procfile_http_123/go.mod @@ -1,3 +1,3 @@ -module example.com/basic_http_123 +module example.com/procfile_http_123 go 1.23 diff --git a/buildpacks/go/tests/fixtures/procfile_http_123/main.go b/buildpacks/go/tests/fixtures/procfile_http_123/main.go index 8e133bd1..30eb36a5 100644 --- a/buildpacks/go/tests/fixtures/procfile_http_123/main.go +++ b/buildpacks/go/tests/fixtures/procfile_http_123/main.go @@ -9,7 +9,7 @@ import ( ) func root(w http.ResponseWriter, req *http.Request) { - fmt.Fprintf(w, "basic_http_122") + fmt.Fprintf(w, "procfile_http_123") } func main() { diff --git a/buildpacks/go/tests/integration_test.rs b/buildpacks/go/tests/integration_test.rs index 65ffb6f1..cf608ee9 100644 --- a/buildpacks/go/tests/integration_test.rs +++ b/buildpacks/go/tests/integration_test.rs @@ -124,6 +124,7 @@ fn test_worker_http_118() { &[ "Detected Go version requirement: ~1.18.1", "Installing go1.18.", + "Detected processes", "example.com/worker_http_118/cmd/web", "example.com/worker_http_118/cmd/worker", ],