File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ import (
1919 "os"
2020 "path/filepath"
2121 "reflect"
22- "runtime"
2322 "testing"
2423
2524 "github.com/notaryproject/notation-go/dir"
@@ -119,18 +118,6 @@ func TestGetVerifier(t *testing.T) {
119118 t .Fatalf ("expected %s, but got %s" , expectedErrMsg , err )
120119 }
121120 })
122-
123- t .Run ("failed to new crl file cache" , func (t * testing.T ) {
124- if runtime .GOOS == "windows" {
125- t .Skip ("skipping test on Windows" )
126- }
127- dir .UserCacheDir = "/cache"
128- expectedErrMsg := "failed to create crl file cache: mkdir /cache: permission denied"
129- _ , err := getVerifier (context .Background ())
130- if err == nil || err .Error () != expectedErrMsg {
131- t .Fatalf ("expected %s, but got %s" , expectedErrMsg , err )
132- }
133- })
134121}
135122
136123func dummyOCIPolicyDocument () trustpolicy.OCIDocument {
You can’t perform that action at this time.
0 commit comments