From 19640642b8e08f7e90e61194fce2c3b8e632311b Mon Sep 17 00:00:00 2001 From: Ehsan-saradar Date: Tue, 6 Feb 2024 13:43:08 +0330 Subject: [PATCH] Add hello-world to go.work.example --- examples/hello-world/integration/app_test.go | 1 + go.work.example | 1 + official/marketplace/integration/list_test.go | 3 +-- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/hello-world/integration/app_test.go b/examples/hello-world/integration/app_test.go index b959e530..a1e5cd65 100644 --- a/examples/hello-world/integration/app_test.go +++ b/examples/hello-world/integration/app_test.go @@ -49,6 +49,7 @@ func TestHelloWorld(t *testing.T) { ), step.Workdir(app.SourcePath()), step.Stdout(buf), + step.Stderr(buf), )), )) require.Equal("Hello, world!\n", buf.String()) diff --git a/go.work.example b/go.work.example index 0685c5fe..96197fa9 100644 --- a/go.work.example +++ b/go.work.example @@ -1,6 +1,7 @@ go 1.21.1 use ( + ./examples/hello-world ./official/explorer ./official/hermes ./official/marketplace diff --git a/official/marketplace/integration/list_test.go b/official/marketplace/integration/list_test.go index b86fcc78..7782fa3f 100644 --- a/official/marketplace/integration/list_test.go +++ b/official/marketplace/integration/list_test.go @@ -16,8 +16,6 @@ import ( ) func TestMarketplace(t *testing.T) { - t.SkipNow() - var ( require = require.New(t) env = envtest.New(t) @@ -53,6 +51,7 @@ func TestMarketplace(t *testing.T) { ), step.Workdir(app.SourcePath()), step.Stdout(buf), + step.Stderr(buf), )), )) require.Condition(func() bool {