Logo
Explore Help
Sign In
iSharkFly-Docs/packer-cn
1
0
Fork 0
You've already forked packer-cn
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
packer-cn/builder/vsphere/clone/builder_test.go

16 lines
260 B
Go
Raw Permalink Normal View History

Move clone builder to a separate module
2018-01-24 14:04:39 +03:00
package clone
Unit tests
2017-06-12 21:08:25 +03:00
import (
"testing"
Add golangci-lint to project (#8686) * Add golangci-lint as linting tool * Disable failing staticchecks to start; GitHub issue to handle coming soon * Run `goimports -w` to repair all source files that have improperly formatted imports * makefile: Add ci-lint target to run on travis This change adds a new make target for running golangci-lint on newly added Go files only. This target is expected to run during Packer ci builds. * .github/contributing: Add code linting instructions * travis: Update job configuration to run parallel builds
2020-02-14 11:42:29 -05:00
"github.com/hashicorp/packer/packer"
Unit tests
2017-06-12 21:08:25 +03:00
)
Rename tests
2018-01-24 21:52:29 +03:00
func TestCloneBuilder_ImplementsBuilder(t *testing.T) {
Unit tests
2017-06-12 21:08:25 +03:00
var raw interface{}
raw = &Builder{}
if _, ok := raw.(packer.Builder); !ok {
t.Fatalf("Builder should be a builder")
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 89ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API