parent
							
								
									59959ab222
								
							
						
					
					
						commit
						b75ad7b87f
					
				
					 4 changed files with 19 additions and 19 deletions
				
			
		| 
						 | 
				
			
			@ -40,7 +40,7 @@ func TestPushMirrorsIterate(t *testing.T) {
 | 
			
		|||
 | 
			
		||||
	time.Sleep(1 * time.Millisecond)
 | 
			
		||||
 | 
			
		||||
	PushMirrorsIterate(func(idx int, bean interface{}) error {
 | 
			
		||||
	PushMirrorsIterate(1, func(idx int, bean interface{}) error {
 | 
			
		||||
		m, ok := bean.(*PushMirror)
 | 
			
		||||
		assert.True(t, ok)
 | 
			
		||||
		assert.Equal(t, "test-1", m.RemoteName)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue