From f210871758f2f4b8b85de8010e37628d64403e4c Mon Sep 17 00:00:00 2001 From: Scott Nichols Date: Fri, 4 Dec 2020 09:47:38 -0800 Subject: [PATCH] lint and copyright bump --- main.go | 2 +- pkg/build/gobuild_test.go | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/main.go b/main.go index 2e85db545a..a804b083f9 100644 --- a/main.go +++ b/main.go @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC All Rights Reserved. +// Copyright 2020 Google LLC All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/build/gobuild_test.go b/pkg/build/gobuild_test.go index fd04bd455d..5c5a0131ca 100644 --- a/pkg/build/gobuild_test.go +++ b/pkg/build/gobuild_test.go @@ -92,8 +92,8 @@ func TestGoBuildIsSupportedRefWithModules(t *testing.T) { withModuleInfo(mods), withBuildContext(stubBuildContext{ // make all referenced deps commands - "github.com/google/ko/test": &gb.Package{Name: "main"}, - "github.com/some/module/cmd": &gb.Package{Name: "main"}, + "github.com/google/ko/test": &gb.Package{Name: "main"}, + "github.com/some/module/cmd": &gb.Package{Name: "main"}, "github.com/google/ko/pkg/build": &gb.Package{Name: "build"}, }), @@ -106,8 +106,8 @@ func TestGoBuildIsSupportedRefWithModules(t *testing.T) { // Supported import paths. for _, importpath := range []string{ - "ko://github.com/google/ko/test", // ko can build the test package. - "ko://github.com/some/module/cmd", // ko can build commands in dependent modules + "ko://github.com/google/ko/test", // ko can build the test package. + "ko://github.com/some/module/cmd", // ko can build commands in dependent modules } { t.Run(importpath, func(t *testing.T) { if err := ng.IsSupportedReference(importpath); err != nil { @@ -120,7 +120,7 @@ func TestGoBuildIsSupportedRefWithModules(t *testing.T) { for _, importpath := range []string{ "ko://github.com/google/ko/pkg/build", // not a command. "ko://github.com/google/ko/pkg/nonexistent", // does not exist. - "ko://github.com/google/ko", // not in this module. + "ko://github.com/google/ko", // not in this module. } { t.Run(importpath, func(t *testing.T) { if err := ng.IsSupportedReference(importpath); err == nil {