mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-05-05 20:42:33 +02:00
kubernetes/migration: Remove all deps (#178)
* remove diff and deps * remove caddy deps, copy stuff locally
This commit is contained in:
parent
fd33b6aa56
commit
d9e12ec6f9
8 changed files with 463 additions and 93 deletions
|
@ -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)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue