diff --git a/__tests__/setup-go.test.ts b/__tests__/setup-go.test.ts
index 3383e99..bb85dee 100644
--- a/__tests__/setup-go.test.ts
+++ b/__tests__/setup-go.test.ts
@@ -51,7 +51,6 @@ describe('setup-go', () => {
     getBooleanInputSpy = jest.spyOn(core, 'getBooleanInput');
     getBooleanInputSpy.mockImplementation(name => inputs[name]);
     exportVarSpy = jest.spyOn(core, 'exportVariable');
-    extractTarSpy = jest.spyOn(core, 'exportVariable');
 
     // node
     os = {};