diff options
Diffstat (limited to 'kamon-core/src/test/scala/kamon/metric/instrument')
-rw-r--r-- | kamon-core/src/test/scala/kamon/metric/instrument/HistogramSpec.scala | 8 | ||||
-rw-r--r-- | kamon-core/src/test/scala/kamon/metric/instrument/UnitOfMeasurementSpec.scala | 2 |
2 files changed, 5 insertions, 5 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) diff --git a/kamon-core/src/test/scala/kamon/metric/instrument/UnitOfMeasurementSpec.scala b/kamon-core/src/test/scala/kamon/metric/instrument/UnitOfMeasurementSpec.scala index 7133579e..10604fe5 100644 --- a/kamon-core/src/test/scala/kamon/metric/instrument/UnitOfMeasurementSpec.scala +++ b/kamon-core/src/test/scala/kamon/metric/instrument/UnitOfMeasurementSpec.scala @@ -17,7 +17,7 @@ package kamon.metric.instrument import kamon.metric.instrument.UnitOfMeasurement.Unknown -import org.scalatest.{Matchers, WordSpec} +import org.scalatest.{ Matchers, WordSpec } class UnitOfMeasurementSpec extends WordSpec with Matchers { |