diff --git a/internal/blueprint/blueprint.go b/internal/blueprint/blueprint.go index 30b818687..1aecccbdd 100644 --- a/internal/blueprint/blueprint.go +++ b/internal/blueprint/blueprint.go @@ -1,16 +1,6 @@ // Package blueprint contains primitives for representing weldr blueprints package blueprint -// An InvalidOutputFormatError is returned when a requested output format is -// not supported. The requested format is included as the error message. -type InvalidOutputFormatError struct { - message string -} - -func (e *InvalidOutputFormatError) Error() string { - return e.message -} - // A Blueprint is a high-level description of an image. type Blueprint struct { Name string `json:"name"` diff --git a/internal/blueprint/blueprint_test.go b/internal/blueprint/blueprint_test.go deleted file mode 100644 index 2d81790f0..000000000 --- a/internal/blueprint/blueprint_test.go +++ /dev/null @@ -1,27 +0,0 @@ -package blueprint_test - -import ( - "testing" - - "github.com/osbuild/osbuild-composer/internal/blueprint" -) - -func TestInvalidOutputFormatError_Error(t *testing.T) { - tests := []struct { - name string - want string - }{ - { - name: "basic", - want: "", - }, - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - e := &blueprint.InvalidOutputFormatError{} - if got := e.Error(); got != tt.want { - t.Errorf("InvalidOutputFormatError.Error() = %v, want %v", got, tt.want) - } - }) - } -}