github.com/sneal/packer@v0.5.2/builder/virtualbox/common/config_test.go (about)

     1  package common
     2  
     3  import (
     4  	"github.com/mitchellh/packer/packer"
     5  	"testing"
     6  )
     7  
     8  func testConfigTemplate(t *testing.T) *packer.ConfigTemplate {
     9  	result, err := packer.NewConfigTemplate()
    10  	if err != nil {
    11  		t.Fatalf("err: %s", err)
    12  	}
    13  
    14  	return result
    15  }