This is an automated email from the ASF dual-hosted git repository. dangogh pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git
commit 4b881b6a0c8a64e8d902262fc5e0ac9f04f8eb14 Author: Dewayne Richardson <dewr...@apache.org> AuthorDate: Tue Feb 20 11:38:41 2018 -0700 cleaned up test case --- traffic_ops/traffic_ops_golang/region/regions_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/traffic_ops/traffic_ops_golang/region/regions_test.go b/traffic_ops/traffic_ops_golang/region/regions_test.go index b0d8446..6eb4761 100644 --- a/traffic_ops/traffic_ops_golang/region/regions_test.go +++ b/traffic_ops/traffic_ops_golang/region/regions_test.go @@ -75,12 +75,12 @@ func TestReadRegions(t *testing.T) { mock.ExpectQuery("SELECT").WillReturnRows(rows) v := map[string]string{"dsId": "1"} - servers, errs, _ := refType.Read(db, v, auth.CurrentUser{}) + regions, errs, _ := refType.Read(db, v, auth.CurrentUser{}) if len(errs) > 0 { - t.Errorf("cdn.Read expected: no errors, actual: %v", errs) + t.Errorf("region.Read expected: no errors, actual: %v", errs) } - if len(servers) != 2 { - t.Errorf("cdn.Read expected: len(servers) == 2, actual: %v", len(servers)) + if len(regions) != 2 { + t.Errorf("region.Read expected: len(regions) == 2, actual: %v", len(regions)) } } -- To stop receiving notification emails like this one, please contact dang...@apache.org.