diff options
author | Diego <diegolparra@gmail.com> | 2016-03-03 00:47:53 -0300 |
---|---|---|
committer | Diego <diegolparra@gmail.com> | 2016-03-03 00:47:53 -0300 |
commit | d280c2f66072be77c5accac7304119a71d4d8ff8 (patch) | |
tree | f41195db8fb5d364a581589045a7d019e7f04209 /kamon-core/src/test/scala/kamon/metric/instrument/HistogramSpec.scala | |
parent | 783464d24f8e5a1877fc893eb991d0842c8128d7 (diff) | |
download | Kamon-d280c2f66072be77c5accac7304119a71d4d8ff8.tar.gz Kamon-d280c2f66072be77c5accac7304119a71d4d8ff8.tar.bz2 Kamon-d280c2f66072be77c5accac7304119a71d4d8ff8.zip |
= system-metrics: runSafe in UlimitMetrics and include a test
Diffstat (limited to 'kamon-core/src/test/scala/kamon/metric/instrument/HistogramSpec.scala')
-rw-r--r-- | kamon-core/src/test/scala/kamon/metric/instrument/HistogramSpec.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kamon-core/src/test/scala/kamon/metric/instrument/HistogramSpec.scala b/kamon-core/src/test/scala/kamon/metric/instrument/HistogramSpec.scala index ff71cd56..adfcd826 100644 --- a/kamon-core/src/test/scala/kamon/metric/instrument/HistogramSpec.scala +++ b/kamon-core/src/test/scala/kamon/metric/instrument/HistogramSpec.scala @@ -64,8 +64,8 @@ class HistogramSpec extends WordSpec with Matchers { snapshot.sum should be(41300) snapshot.numberOfMeasurements should be(203) - val records = snapshot.recordsIterator.map(r => r.level -> r.count).toSeq - records.size should be (4) + val records = snapshot.recordsIterator.map(r ⇒ r.level -> r.count).toSeq + records.size should be(4) records(0) should be(100 -> 1) records(1) should be(200 -> 200) records(2) should be(300 -> 1) @@ -88,8 +88,8 @@ class HistogramSpec extends WordSpec with Matchers { snapshot.sum should be(41300000) snapshot.numberOfMeasurements should be(203) - val records = snapshot.recordsIterator.map(r => r.level -> r.count).toSeq - records.size should be (4) + val records = snapshot.recordsIterator.map(r ⇒ r.level -> r.count).toSeq + records.size should be(4) records(0) should be(100000 -> 1) records(1) should be(200000 -> 200) records(2) should be(300000 -> 1) |