kubernetes/migration: Remove all deps (#178)

* remove diff and deps

* remove caddy deps, copy stuff locally
This commit is contained in:
Chris O'Haver 2019-05-30 17:58:30 -04:00 committed by GitHub
parent fd33b6aa56
commit d9e12ec6f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 463 additions and 93 deletions

View file

@ -1,7 +1,6 @@
package migration
import (
"github.com/andreyvit/diff"
"testing"
)
@ -236,7 +235,7 @@ mystub-2.example.org {
}
if result != testCase.expectedCorefile {
t.Errorf("expected -> got diffs:\n%v", diff.LineDiff(testCase.expectedCorefile, result))
t.Errorf("expected != result\n%v\n%v", testCase.expectedCorefile, result)
}
})
}
@ -338,7 +337,7 @@ func TestMigrateDown(t *testing.T) {
}
if result != testCase.expectedCorefile {
t.Errorf("expected -> got diffs:\n%v", diff.LineDiff(testCase.expectedCorefile, result))
t.Errorf("expected != result:\n%v\n%v", testCase.expectedCorefile, result)
}
})
}