| 2074 | } |
| 2075 | |
| 2076 | func TestRepositoryContent_String(t *testing.T) { |
| 2077 | t.Parallel() |
| 2078 | v := RepositoryContent{ |
| 2079 | Type: Ptr(""), |
| 2080 | Target: Ptr(""), |
| 2081 | Encoding: Ptr(""), |
| 2082 | Size: Ptr(0), |
| 2083 | Name: Ptr(""), |
| 2084 | Path: Ptr(""), |
| 2085 | Content: Ptr(""), |
| 2086 | SHA: Ptr(""), |
| 2087 | URL: Ptr(""), |
| 2088 | GitURL: Ptr(""), |
| 2089 | HTMLURL: Ptr(""), |
| 2090 | DownloadURL: Ptr(""), |
| 2091 | SubmoduleGitURL: Ptr(""), |
| 2092 | } |
| 2093 | want := `github.RepositoryContent{Type:"", Target:"", Encoding:"", Size:0, Name:"", Path:"", Content:"", SHA:"", URL:"", GitURL:"", HTMLURL:"", DownloadURL:"", SubmoduleGitURL:""}` |
| 2094 | if got := v.String(); got != want { |
| 2095 | t.Errorf("RepositoryContent.String = %v, want %v", got, want) |
| 2096 | } |
| 2097 | } |
| 2098 | |
| 2099 | func TestRepositoryLicense_String(t *testing.T) { |
| 2100 | t.Parallel() |