Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Commit 8f78820

Browse files
committed
Undo testdata filename change
At one point there were multiple test scenarios which warranted the name but not anymore
1 parent 521abaa commit 8f78820

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

cmd/dep/glide_importer_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ func TestGlideConfig_Import(t *testing.T) {
4444
defer sm.Release()
4545

4646
h.TempDir(filepath.Join("src", testGlideProjectRoot))
47-
h.TempCopy(filepath.Join(testGlideProjectRoot, glideYamlName), "glide/glide0.yaml")
48-
h.TempCopy(filepath.Join(testGlideProjectRoot, glideLockName), "glide/glide0.lock")
47+
h.TempCopy(filepath.Join(testGlideProjectRoot, glideYamlName), "glide/glide.yaml")
48+
h.TempCopy(filepath.Join(testGlideProjectRoot, glideLockName), "glide/glide.lock")
4949
projectRoot := h.Path(testGlideProjectRoot)
5050

5151
// Capture stderr so we can verify output
@@ -68,7 +68,7 @@ func TestGlideConfig_Import(t *testing.T) {
6868
t.Fatal("Expected the lock to be generated")
6969
}
7070

71-
goldenFile := "glide/golden0.txt"
71+
goldenFile := "glide/golden.txt"
7272
got := verboseOutput.String()
7373
want := h.GetTestFileString(goldenFile)
7474
if want != got {
@@ -92,7 +92,7 @@ func TestGlideConfig_Import_MissingLockFile(t *testing.T) {
9292
defer sm.Release()
9393

9494
h.TempDir(filepath.Join("src", testGlideProjectRoot))
95-
h.TempCopy(filepath.Join(testGlideProjectRoot, glideYamlName), "glide/glide0.yaml")
95+
h.TempCopy(filepath.Join(testGlideProjectRoot, glideYamlName), "glide/glide.yaml")
9696
projectRoot := h.Path(testGlideProjectRoot)
9797

9898
g := newGlideImporter(ctx.Err, true, sm)
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)