fix bug on cache/file
This commit is contained in:
		
							parent
							
								
									1900246054
								
							
						
					
					
						commit
						dfab44c24a
					
				
							
								
								
									
										2
									
								
								cache/cache_test.go
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								cache/cache_test.go
									
									
									
									
										vendored
									
									
								
							| @ -98,7 +98,7 @@ func TestCache(t *testing.T) { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| func TestFileCache(t *testing.T) { | func TestFileCache(t *testing.T) { | ||||||
| 	bm, err := NewCache("file", `{"CachePath":"cache","FileSuffix":".bin","DirectoryLevel":2,"EmbedExpiry":0}`) | 	bm, err := NewCache("file", `{"CachePath":"cache","FileSuffix":".bin","DirectoryLevel":"2","EmbedExpiry":"0"}`) | ||||||
| 	if err != nil { | 	if err != nil { | ||||||
| 		t.Error("init err") | 		t.Error("init err") | ||||||
| 	} | 	} | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user