diff --git a/vault/test_stubmaker.go b/vault/test_stubmaker.go deleted file mode 100644 index becec1d18b99..000000000000 --- a/vault/test_stubmaker.go +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 - -package vault - -import ( - "github.com/hashicorp/vault/vault/cluster" -) - -func test() { - testStubmaker(cluster.Listener{}) - testStubmaker2() -} diff --git a/vault/test_stubmaker_oss.go b/vault/test_stubmaker_oss.go deleted file mode 100644 index 8d3593f725b8..000000000000 --- a/vault/test_stubmaker_oss.go +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 - -//go:build !enterprise - -package vault - -import ( - "github.com/hashicorp/vault/vault/cluster" - "github.com/hashicorp/vault/vault/seal" -) - -//go:generate go run github.com/hashicorp/vault/tools/stubmaker - -func testStubmaker(_ cluster.Listener) {} -func testStubmaker2() *seal.Envelope { return nil }