Index: common/meter/config_test.go |
diff --git a/common/meter/config_test.go b/common/meter/config_test.go |
deleted file mode 100644 |
index f9d36431b4b334ed13b47919527f666308c1e65d..0000000000000000000000000000000000000000 |
--- a/common/meter/config_test.go |
+++ /dev/null |
@@ -1,33 +0,0 @@ |
-// Copyright 2015 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-package meter |
- |
-import ( |
- "testing" |
- "time" |
- |
- . "github.com/smartystreets/goconvey/convey" |
-) |
- |
-func TestConfig(t *testing.T) { |
- Convey(`An zero (unmetered) config instance`, t, func() { |
- cfg := new(Config) |
- |
- Convey(`It will register as unconstained.`, func() { |
- So(cfg.HasFlushConstraints(), ShouldBeFalse) |
- }) |
- }) |
- |
- Convey(`A configured config instance`, t, func() { |
- cfg := &Config{ |
- Count: 10, |
- Delay: 1 * time.Second, |
- } |
- |
- Convey(`Will register as metered.`, func() { |
- So(cfg.HasFlushConstraints(), ShouldBeTrue) |
- }) |
- }) |
-} |