mirror of
https://github.com/google/go-github.git
synced 2026-10-29 08:54:47 +08:00
1 parent
1a4b1067cc
commit
0c562f6a6c
6 files changed
+435
No files matched your search
@@ -1763,6 +1763,16 @@ func TestRepositoryRelease_String(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestSBOM_String(t *testing.T) {
|
||||
v := SBOM{
|
||||
SBOM: &SBOMInfo{},
|
||||
}
|
||||
want := `github.SBOM{SBOM:github.SBOMInfo{}}`
|
||||
if got := v.String(); got != want {
|
||||
t.Errorf("SBOM.String = %v, want %v", got, want)
|
||||
}
|
||||
}
|
||||
|
||||
func TestSSHSigningKey_String(t *testing.T) {
|
||||
v := SSHSigningKey{
|
||||
ID: Int64(0),
|
||||
|
||||
Reference in new issue
Block a user