aboutsummaryrefslogtreecommitdiff
path: root/kamon-core/src
diff options
context:
space:
mode:
authorIvan Topolnjak <ivantopo@gmail.com>2014-12-28 07:58:08 +0100
committerIvan Topolnjak <ivantopo@gmail.com>2014-12-28 07:58:08 +0100
commit0e49b69ac88107b26ef4e3c854eb2448eefcfd98 (patch)
tree8e538108ae7007e242d9c9de8297cd5c11d81412 /kamon-core/src
parenta7c2289a31f841c4abf360db197c355e766fb3e0 (diff)
parentf10b854a56372e77d374911655879b3aec48f8e6 (diff)
downloadKamon-0e49b69ac88107b26ef4e3c854eb2448eefcfd98.tar.gz
Kamon-0e49b69ac88107b26ef4e3c854eb2448eefcfd98.tar.bz2
Kamon-0e49b69ac88107b26ef4e3c854eb2448eefcfd98.zip
Merge branch 'master' of github.com:kamon-io/Kamon
Diffstat (limited to 'kamon-core/src')
-rw-r--r--kamon-core/src/test/scala/kamon/util/GlobPathFilterSpec.scala8
1 files changed, 4 insertions, 4 deletions
diff --git a/kamon-core/src/test/scala/kamon/util/GlobPathFilterSpec.scala b/kamon-core/src/test/scala/kamon/util/GlobPathFilterSpec.scala
index 47ef4701..83992e61 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 {
@@ -41,18 +41,18 @@ class GlobPathFilterSpec extends WordSpecLike with Matchers {
}
"match all expressions and crosses the path boundaries" in {
- val filter = new GlobPathFilter("/user/actor-**")
+ val filter = new GlobPathFilter("/user/actor-**")
filter.accept("/user/actor-") shouldBe true
filter.accept("/user/actor-one") shouldBe true
filter.accept("/user/actor-one/other") shouldBe true
filter.accept("/user/something/actor") shouldBe false
- filter.accept("/user/something/otherActor")shouldBe false
+ filter.accept("/user/something/otherActor") shouldBe false
}
"match exactly one characterr" in {
- val filter = new GlobPathFilter("/user/actor-?")
+ val filter = new GlobPathFilter("/user/actor-?")
filter.accept("/user/actor-1") shouldBe true
filter.accept("/user/actor-2") shouldBe true