From f81df14be3db1020b333233dfa400fbb3db7d89c Mon Sep 17 00:00:00 2001 From: Matthew Rich Date: Tue, 9 Apr 2024 13:34:23 -0700 Subject: [PATCH] add missing mock command --- internal/resource/mock_command_test.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 internal/resource/mock_command_test.go diff --git a/internal/resource/mock_command_test.go b/internal/resource/mock_command_test.go new file mode 100644 index 0000000..73fa351 --- /dev/null +++ b/internal/resource/mock_command_test.go @@ -0,0 +1,17 @@ +// Copyright 2024 Matthew Rich . All rights reserved. + +package resource + +import ( +_ "fmt" +_ "github.com/stretchr/testify/assert" +_ "os" +_ "strings" +_ "testing" +) + +type MockCommand Command + +func (m *MockCommand) Execute(value any) ([]byte, error) { + return nil, nil +}