commit | 6f8eda997bfef00a3debf8bbcc9b5dbc15aa090c | [log] [tgz] |
---|---|---|
author | Jon Perritt <jrperritt@gmail.com> | Tue Jan 27 11:38:35 2015 -0700 |
committer | Jon Perritt <jrperritt@gmail.com> | Tue Jan 27 11:54:35 2015 -0700 |
tree | 9e2df8dafe47836bfc2424c538213eaedfee6090 | |
parent | 548496b558a8cb523d283f736559090a93d39baa [diff] [blame] |
more concise check for flavor list unit test
diff --git a/openstack/cdn/v1/flavors/requests_test.go b/openstack/cdn/v1/flavors/requests_test.go index 2fafb36..ea74e13 100644 --- a/openstack/cdn/v1/flavors/requests_test.go +++ b/openstack/cdn/v1/flavors/requests_test.go
@@ -53,10 +53,7 @@ return true, nil }) th.AssertNoErr(t, err) - - if count != 1 { - t.Errorf("Expected 1 page, got %d", count) - } + th.CheckEquals(t, 1, count) } func TestGet(t *testing.T) {