Removing my debugging output
This commit is contained in:
parent
e878495f67
commit
ab9f0bc3c8
|
@ -1,12 +1,8 @@
|
|||
package chroot
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/kr/pretty"
|
||||
"github.com/mitchellh/goamz/ec2"
|
||||
// awscommon "github.com/mitchellh/packer/builder/amazon/common"
|
||||
)
|
||||
|
||||
func testImage() ec2.Image {
|
||||
|
@ -30,9 +26,6 @@ func TestStepRegisterAmi_buildRegisterOpts_pv(t *testing.T) {
|
|||
|
||||
opts := buildRegisterOpts(&config, &image, blockDevices)
|
||||
|
||||
fmt.Println("******** PAS ********")
|
||||
fmt.Printf("%# v", pretty.Formatter(opts))
|
||||
|
||||
expected := config.AMIVirtType
|
||||
if opts.VirtType != expected {
|
||||
t.Fatalf("Unexpected VirtType value: expected %s got %s\n", expected, opts.VirtType)
|
||||
|
@ -62,9 +55,6 @@ func TestStepRegisterAmi_buildRegisterOpts_hvm(t *testing.T) {
|
|||
|
||||
opts := buildRegisterOpts(&config, &image, blockDevices)
|
||||
|
||||
fmt.Println("******** PAS ********")
|
||||
fmt.Printf("%# v", pretty.Formatter(opts))
|
||||
|
||||
expected := config.AMIVirtType
|
||||
if opts.VirtType != expected {
|
||||
t.Fatalf("Unexpected VirtType value: expected %s got %s\n", expected, opts.VirtType)
|
||||
|
|
Loading…
Reference in New Issue