aboutsummaryrefslogtreecommitdiff
path: root/kamon-core/src/test/scala/kamon/util
diff options
context:
space:
mode:
Diffstat (limited to 'kamon-core/src/test/scala/kamon/util')
-rw-r--r--kamon-core/src/test/scala/kamon/util/GlobPathFilterSpec.scala2
-rw-r--r--kamon-core/src/test/scala/kamon/util/NeedToScaleSpec.scala13
-rw-r--r--kamon-core/src/test/scala/kamon/util/RegexPathFilterSpec.scala2
-rw-r--r--kamon-core/src/test/scala/kamon/util/executors/ExecutorServiceMetricsSpec.scala2
4 files changed, 11 insertions, 8 deletions
diff --git a/kamon-core/src/test/scala/kamon/util/GlobPathFilterSpec.scala b/kamon-core/src/test/scala/kamon/util/GlobPathFilterSpec.scala
index ab98d0ac..7d585087 100644
--- a/kamon-core/src/test/scala/kamon/util/GlobPathFilterSpec.scala
+++ b/kamon-core/src/test/scala/kamon/util/GlobPathFilterSpec.scala
@@ -16,7 +16,7 @@
package kamon.util
-import org.scalatest.{ Matchers, WordSpecLike }
+import org.scalatest.{Matchers, WordSpecLike}
class GlobPathFilterSpec extends WordSpecLike with Matchers {
"The GlobPathFilter" should {
diff --git a/kamon-core/src/test/scala/kamon/util/NeedToScaleSpec.scala b/kamon-core/src/test/scala/kamon/util/NeedToScaleSpec.scala
index a53451b6..cba6ad98 100644
--- a/kamon-core/src/test/scala/kamon/util/NeedToScaleSpec.scala
+++ b/kamon-core/src/test/scala/kamon/util/NeedToScaleSpec.scala
@@ -17,8 +17,8 @@
package kamon.util
import com.typesafe.config.ConfigFactory
-import kamon.metric.instrument.{ Memory, Time }
-import org.scalatest.{ Matchers, WordSpec }
+import kamon.metric.instrument.{Memory, Time}
+import org.scalatest.{Matchers, WordSpec}
class NeedToScaleSpec extends WordSpec with Matchers {
@@ -27,7 +27,8 @@ class NeedToScaleSpec extends WordSpec with Matchers {
val config = ConfigFactory.parseString(
"""
|time-units = "ms"
- """.stripMargin)
+ """.stripMargin
+ )
config match {
case NeedToScale(timeUnits, memoryUnits) ⇒
@@ -39,7 +40,8 @@ class NeedToScaleSpec extends WordSpec with Matchers {
val config = ConfigFactory.parseString(
"""
|memory-units = "kb"
- """.stripMargin)
+ """.stripMargin
+ )
config match {
case NeedToScale(timeUnits, memoryUnits) ⇒
@@ -51,7 +53,8 @@ class NeedToScaleSpec extends WordSpec with Matchers {
val config = ConfigFactory.parseString(
"""
|some-other-key = "value"
- """.stripMargin)
+ """.stripMargin
+ )
config match {
case NeedToScale(timeUnits, memoryUnits) ⇒
diff --git a/kamon-core/src/test/scala/kamon/util/RegexPathFilterSpec.scala b/kamon-core/src/test/scala/kamon/util/RegexPathFilterSpec.scala
index edbf14b3..a2cc8629 100644
--- a/kamon-core/src/test/scala/kamon/util/RegexPathFilterSpec.scala
+++ b/kamon-core/src/test/scala/kamon/util/RegexPathFilterSpec.scala
@@ -16,7 +16,7 @@
package kamon.util
-import org.scalatest.{ Matchers, WordSpecLike }
+import org.scalatest.{Matchers, WordSpecLike}
class RegexPathFilterSpec extends WordSpecLike with Matchers {
"The RegexPathFilter" should {
diff --git a/kamon-core/src/test/scala/kamon/util/executors/ExecutorServiceMetricsSpec.scala b/kamon-core/src/test/scala/kamon/util/executors/ExecutorServiceMetricsSpec.scala
index a0275b33..4e5394f8 100644
--- a/kamon-core/src/test/scala/kamon/util/executors/ExecutorServiceMetricsSpec.scala
+++ b/kamon-core/src/test/scala/kamon/util/executors/ExecutorServiceMetricsSpec.scala
@@ -19,7 +19,7 @@ package kamon.util.executors
import java.util.concurrent.Executors
import kamon.Kamon
-import kamon.metric.{ Entity, EntityRecorder }
+import kamon.metric.{Entity, EntityRecorder}
import kamon.testkit.BaseKamonSpec
class ExecutorServiceMetricsSpec extends BaseKamonSpec("executor-service-metrics-spec") {