This commit is contained in:
Jack Pearkes 2014-07-29 19:09:55 -04:00
parent 77697b9936
commit af62002c1b
1 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,9 @@
package aws
import (
"bytes"
"fmt"
"testing"
"bytes"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
@ -84,7 +84,7 @@ func testAccCheckAWSLaunchConfigurationAttributes(conf *autoscaling.LaunchConfig
return fmt.Errorf("Bad instance_type: %s", conf.InstanceType)
}
if ! bytes.Equal(conf.UserData, []byte("foobar-user-data")) {
if !bytes.Equal(conf.UserData, []byte("foobar-user-data")) {
return fmt.Errorf("Bad user_data: %s", conf.UserData)
}