From a2551b2c1b30394359d49c022b60b2e957a9fe1e Mon Sep 17 00:00:00 2001 From: mahabaleshwars <147705296+mahabaleshwars@users.noreply.github.com> Date: Thu, 24 Sep 2026 22:03:28 +0530 Subject: [PATCH] implement review comment --- __tests__/setup-go.test.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/__tests__/setup-go.test.ts b/__tests__/setup-go.test.ts index e76fd06..c1946bd 100644 --- a/__tests__/setup-go.test.ts +++ b/__tests__/setup-go.test.ts @@ -698,6 +698,16 @@ describe('setup-go', () => { it('sets an output for each exposed variable', () => { main.setGoEnvOutputs(goEnv); + expect(GO_ENV_OUTPUTS).toEqual([ + 'GOPATH', + 'GOBIN', + 'GOROOT', + 'GOCACHE', + 'GOMODCACHE', + 'GOOS', + 'GOARCH', + 'GOTOOLDIR' + ]); for (const name of GO_ENV_OUTPUTS) { expect(setOutputSpy).toHaveBeenCalledWith(name, goEnv[name] ?? ''); }