mirror of
https://github.com/ko-build/ko.git
synced 2024-12-12 08:54:09 +02:00
commit
3584e2d4d3
@ -93,6 +93,9 @@ func TestGoBuildNoKoData(t *testing.T) {
|
||||
WithBaseImages(func(string) (v1.Image, error) { return base, nil }),
|
||||
withBuilder(writeTempFile),
|
||||
)
|
||||
if err != nil {
|
||||
t.Fatalf("NewGo() = %v", err)
|
||||
}
|
||||
|
||||
img, err := ng.Build(filepath.Join(importpath, "cmd", "ko"))
|
||||
if err != nil {
|
||||
@ -170,6 +173,9 @@ func TestGoBuild(t *testing.T) {
|
||||
WithBaseImages(func(string) (v1.Image, error) { return base, nil }),
|
||||
withBuilder(writeTempFile),
|
||||
)
|
||||
if err != nil {
|
||||
t.Fatalf("NewGo() = %v", err)
|
||||
}
|
||||
|
||||
img, err := ng.Build(filepath.Join(importpath, "cmd", "ko", "test"))
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user