diff --git a/integration/basic_test.go b/integration/basic_test.go index f5b4e1553e..35b60fbd6e 100644 --- a/integration/basic_test.go +++ b/integration/basic_test.go @@ -31,7 +31,7 @@ func (s *SimpleSuite) TestInvalidConfigShouldFail(c *check.C) { actual := b.String() if !strings.Contains(actual, expected) { - return fmt.Errorf("Got %s, wanted %s.", actual, expected) + return fmt.Errorf("Got %s, wanted %s", actual, expected) } return nil @@ -79,7 +79,7 @@ func (s *SimpleSuite) TestDefaultEntryPoints(c *check.C) { actual := b.String() if !strings.Contains(actual, expected) { - return fmt.Errorf("Got %s, wanted %s.", actual, expected) + return fmt.Errorf("Got %s, wanted %s", actual, expected) } return nil @@ -104,10 +104,10 @@ func (s *SimpleSuite) TestPrintHelp(c *check.C) { actual := b.String() if strings.Contains(actual, notExpected) { - return fmt.Errorf("Got %s.", actual) + return fmt.Errorf("Got %s", actual) } if !strings.Contains(actual, expected) { - return fmt.Errorf("Got %s, wanted %s.", actual, expected) + return fmt.Errorf("Got %s, wanted %s", actual, expected) } return nil diff --git a/integration/consul_test.go b/integration/consul_test.go index 98287b810c..cd36db1f60 100644 --- a/integration/consul_test.go +++ b/integration/consul_test.go @@ -419,7 +419,7 @@ func (s *ConsulSuite) TestDatastore(c *check.C) { expectedValue := "foo" test1 := datastore1.Get().(*TestStruct) if test1.String != expectedValue { - return fmt.Errorf("Got %s, wanted %s.", test1.String, expectedValue) + return fmt.Errorf("Got %s, wanted %s", test1.String, expectedValue) } return nil }) @@ -440,7 +440,7 @@ func (s *ConsulSuite) TestDatastore(c *check.C) { expectedValue := "bar" test1 := datastore1.Get().(*TestStruct) if test1.String != expectedValue { - return fmt.Errorf("Got %s, wanted %s.", test1.String, expectedValue) + return fmt.Errorf("Got %s, wanted %s", test1.String, expectedValue) } return nil })