commit
						931e6162ac
					
				
							
								
								
									
										4
									
								
								cache/cache_test.go
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								cache/cache_test.go
									
									
									
									
										vendored
									
									
								
							| @ -40,7 +40,7 @@ func TestCache(t *testing.T) { | |||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	if err = bm.Decr("astaxie"); err != nil { | 	if err = bm.Decr("astaxie"); err != nil { | ||||||
| 		t.Error("Incr Error", err) | 		t.Error("Decr Error", err) | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	if v := bm.Get("astaxie"); v.(int) != 1 { | 	if v := bm.Get("astaxie"); v.(int) != 1 { | ||||||
| @ -77,7 +77,7 @@ func TestFileCache(t *testing.T) { | |||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	if err = bm.Decr("astaxie"); err != nil { | 	if err = bm.Decr("astaxie"); err != nil { | ||||||
| 		t.Error("Incr Error", err) | 		t.Error("Decr Error", err) | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	if v := bm.Get("astaxie"); v.(int) != 1 { | 	if v := bm.Get("astaxie"); v.(int) != 1 { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user