fix tests
This commit is contained in:
		
							parent
							
								
									82bce229bd
								
							
						
					
					
						commit
						674f5bda5d
					
				|  | @ -323,7 +323,7 @@ func TestSnasphotPreservesFileOrder(t *testing.T) { | ||||||
| 	filesInTars := [][]string{} | 	filesInTars := [][]string{} | ||||||
| 
 | 
 | ||||||
| 	for i := 0; i<= 2; i++ { | 	for i := 0; i<= 2; i++ { | ||||||
| 		testDir, snapshotter, cleanup, err := setUpTestDir() | 		testDir, snapshotter, cleanup, err := setUpTest() | ||||||
| 		testDirWithoutLeadingSlash := strings.TrimLeft(testDir, "/") | 		testDirWithoutLeadingSlash := strings.TrimLeft(testDir, "/") | ||||||
| 		defer cleanup() | 		defer cleanup() | ||||||
| 
 | 
 | ||||||
|  | @ -372,8 +372,8 @@ func TestSnasphotPreservesFileOrder(t *testing.T) { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| func TestSnapshotOmitsUnameGname(t *testing.T) { | func TestSnapshotOmitsUnameGname(t *testing.T) { | ||||||
| 	testDir, snapshotter, cleanup, err := setUpTestDir() | 	_, snapshotter, cleanup, err := setUpTest() | ||||||
| 	testDirWithoutLeadingSlash := strings.TrimLeft(testDir, "/") | 
 | ||||||
| 	defer cleanup() | 	defer cleanup() | ||||||
| 	if err != nil { | 	if err != nil { | ||||||
| 		t.Fatal(err) | 		t.Fatal(err) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue