Fixing integration tests.
When structable moved from technosophos to Masterminds the sorting
produced unexpected behavior. In some instances tests failed.
Reordering tests to allow them to pass again.
diff --git a/cmd/yaml_test.go b/cmd/yaml_test.go
index 4bdde1c..78b3101 100644
--- a/cmd/yaml_test.go
+++ b/cmd/yaml_test.go
@@ -12,7 +12,6 @@
- package: github.com/kylelemons/go-gypsy
subpackages: yaml
flatten: true
- - package: github.com/technosophos/structable
# Intentionally left spaces at end of next line.
- package: github.com/Masterminds/convert
repo: git@github.com:Masterminds/convert.git
@@ -26,6 +25,7 @@
- i386
- arm
flatten: true
+ - package: github.com/Masterminds/structable
devimport:
- package: github.com/kylelemons/go-gypsy
@@ -77,7 +77,7 @@
t.Errorf("Expected to find a recursive dependency")
}
- imp := cfg.Imports[2]
+ imp := cfg.Imports[1]
if imp.Name != "github.com/Masterminds/convert" {
t.Errorf("Expected the convert package, got %s", imp.Name)
}