Removing my debugging output

This commit is contained in:
Peter Sankauskas 2014-07-29 22:18:43 -07:00
parent e878495f67
commit ab9f0bc3c8
1 changed files with 0 additions and 10 deletions

View File

@ -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)