Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
abogdanov37 committed Jun 27, 2024
1 parent f8e3e74 commit cf92cd8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/internal/loader/fileloader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
"github.com/stretchr/testify/require"
"sigs.k8s.io/kustomize/api/ifc"
"sigs.k8s.io/kustomize/api/internal/git"
"sigs.k8s.io/kustomize/api/internal/loader"
"sigs.k8s.io/kustomize/api/konfig"
"sigs.k8s.io/kustomize/kyaml/errors"
"sigs.k8s.io/kustomize/kyaml/filesys"
Expand Down Expand Up @@ -683,7 +682,7 @@ func TestLoaderHTTP(t *testing.T) {
l2.http = hc
_, err := l2.Load(x.path)
require.Error(err)
var redErr *loader.RedirectionError
var redErr *RedirectionError
var path string = ""
if errors.As(err, &redErr) {
path = redErr.NewPath
Expand Down

0 comments on commit cf92cd8

Please sign in to comment.