Debian Codegraph @

internal/signerverifier/sigstore/options/verifier/verifier_test.go

raw symbols SCIP
1 // Copyright The gittuf Authors
2 // SPDX-License-Identifier: Apache-2.0
3
4 package verifierscip-go gomod github.com/gittuf/gittuf . `github.com/gittuf/gittuf/internal/signerverifier/sigstore/options/verifier`/
5
6 import (
7 "testingscip-go gomod github.com/golang/go/src go1.26.0 testing/"
8
9 "github.com/stretchr/testify/assertscip-go gomod github.com/stretchr/testify v1.11.1 `github.com/stretchr/testify/assert`/"
10 )
11
12 func TestWithRekorURLscip-go gomod github.com/gittuf/gittuf . `github.com/gittuf/gittuf/internal/signerverifier/sigstore/options/verifier`/TestWithRekorURL().(t *testingscip-go gomod github.com/golang/go/src go1.26.0 testing/.Tscip-go gomod github.com/golang/go/src go1.26.0 testing/T#) {
13 options := &Optionsscip-go gomod github.com/gittuf/gittuf . `github.com/gittuf/gittuf/internal/signerverifier/sigstore/options/verifier`/Options#{}
14
15 option := WithRekorURLscip-go gomod github.com/gittuf/gittuf . `github.com/gittuf/gittuf/internal/signerverifier/sigstore/options/verifier`/WithRekorURL().("example.com")
16
17 option(options)
18
19 assertscip-go gomod github.com/stretchr/testify v1.11.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.11.1 `github.com/stretchr/testify/assert`/Equal().(t, "example.com", options.RekorURLscip-go gomod github.com/gittuf/gittuf . `github.com/gittuf/gittuf/internal/signerverifier/sigstore/options/verifier`/Options#RekorURL.)
20 }