@@ -94,7 +94,7 @@ func Test_SearchRepositories(t *testing.T) {
9494 expectQueryParams (t , map [string ]string {
9595 "q" : "golang test" ,
9696 "page" : "1" ,
97- "per_page" : "30 " ,
97+ "per_page" : "11 " ,
9898 }).andThen (
9999 mockResponse (t , http .StatusOK , mockSearchResult ),
100100 ),
@@ -199,7 +199,7 @@ func Test_SearchRepositories_FullOutput(t *testing.T) {
199199 expectQueryParams (t , map [string ]string {
200200 "q" : "golang test" ,
201201 "page" : "1" ,
202- "per_page" : "30 " ,
202+ "per_page" : "11 " ,
203203 }).andThen (
204204 mockResponse (t , http .StatusOK , mockSearchResult ),
205205 ),
@@ -296,7 +296,7 @@ func Test_SearchCode(t *testing.T) {
296296 "sort" : "indexed" ,
297297 "order" : "desc" ,
298298 "page" : "1" ,
299- "per_page" : "30 " ,
299+ "per_page" : "11 " ,
300300 }).andThen (
301301 mockResponse (t , http .StatusOK , mockSearchResult ),
302302 ),
@@ -320,7 +320,7 @@ func Test_SearchCode(t *testing.T) {
320320 expectQueryParams (t , map [string ]string {
321321 "q" : "fmt.Println language:go" ,
322322 "page" : "1" ,
323- "per_page" : "30 " ,
323+ "per_page" : "11 " ,
324324 }).andThen (
325325 mockResponse (t , http .StatusOK , mockSearchResult ),
326326 ),
@@ -456,7 +456,7 @@ func Test_SearchUsers(t *testing.T) {
456456 "sort" : "followers" ,
457457 "order" : "desc" ,
458458 "page" : "1" ,
459- "per_page" : "30 " ,
459+ "per_page" : "11 " ,
460460 }).andThen (
461461 mockResponse (t , http .StatusOK , mockSearchResult ),
462462 ),
@@ -480,7 +480,7 @@ func Test_SearchUsers(t *testing.T) {
480480 expectQueryParams (t , map [string ]string {
481481 "q" : "type:user location:finland language:go" ,
482482 "page" : "1" ,
483- "per_page" : "30 " ,
483+ "per_page" : "11 " ,
484484 }).andThen (
485485 mockResponse (t , http .StatusOK , mockSearchResult ),
486486 ),
@@ -500,7 +500,7 @@ func Test_SearchUsers(t *testing.T) {
500500 expectQueryParams (t , map [string ]string {
501501 "q" : "type:user location:seattle followers:>100" ,
502502 "page" : "1" ,
503- "per_page" : "30 " ,
503+ "per_page" : "11 " ,
504504 }).andThen (
505505 mockResponse (t , http .StatusOK , mockSearchResult ),
506506 ),
@@ -520,7 +520,7 @@ func Test_SearchUsers(t *testing.T) {
520520 expectQueryParams (t , map [string ]string {
521521 "q" : "type:user (location:seattle OR location:california) followers:>50" ,
522522 "page" : "1" ,
523- "per_page" : "30 " ,
523+ "per_page" : "11 " ,
524524 }).andThen (
525525 mockResponse (t , http .StatusOK , mockSearchResult ),
526526 ),
@@ -653,7 +653,7 @@ func Test_SearchOrgs(t *testing.T) {
653653 expectQueryParams (t , map [string ]string {
654654 "q" : "type:org github" ,
655655 "page" : "1" ,
656- "per_page" : "30 " ,
656+ "per_page" : "11 " ,
657657 }).andThen (
658658 mockResponse (t , http .StatusOK , mockSearchResult ),
659659 ),
@@ -673,7 +673,7 @@ func Test_SearchOrgs(t *testing.T) {
673673 expectQueryParams (t , map [string ]string {
674674 "q" : "type:org location:california followers:>1000" ,
675675 "page" : "1" ,
676- "per_page" : "30 " ,
676+ "per_page" : "11 " ,
677677 }).andThen (
678678 mockResponse (t , http .StatusOK , mockSearchResult ),
679679 ),
@@ -693,7 +693,7 @@ func Test_SearchOrgs(t *testing.T) {
693693 expectQueryParams (t , map [string ]string {
694694 "q" : "type:org (location:seattle OR location:california OR location:newyork) repos:>10" ,
695695 "page" : "1" ,
696- "per_page" : "30 " ,
696+ "per_page" : "11 " ,
697697 }).andThen (
698698 mockResponse (t , http .StatusOK , mockSearchResult ),
699699 ),
0 commit comments