diff options
Diffstat (limited to 'Godeps/_workspace/src/github.com/rcrowley/go-metrics/writer_test.go')
-rw-r--r-- | Godeps/_workspace/src/github.com/rcrowley/go-metrics/writer_test.go | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/Godeps/_workspace/src/github.com/rcrowley/go-metrics/writer_test.go b/Godeps/_workspace/src/github.com/rcrowley/go-metrics/writer_test.go deleted file mode 100644 index 1aacc2871..000000000 --- a/Godeps/_workspace/src/github.com/rcrowley/go-metrics/writer_test.go +++ /dev/null @@ -1,22 +0,0 @@ -package metrics - -import ( - "sort" - "testing" -) - -func TestMetricsSorting(t *testing.T) { - var namedMetrics = namedMetricSlice{ - {name: "zzz"}, - {name: "bbb"}, - {name: "fff"}, - {name: "ggg"}, - } - - sort.Sort(namedMetrics) - for i, name := range []string{"bbb", "fff", "ggg", "zzz"} { - if namedMetrics[i].name != name { - t.Fail() - } - } -} |