summaryrefslogtreecommitdiff
path: root/core/source/test
diff options
context:
space:
mode:
authorRocky Madden <git@rockymadden.com>2012-10-15 21:59:13 -0600
committerRocky Madden <git@rockymadden.com>2012-10-15 21:59:13 -0600
commitd330e1f57da90accac66fbdbcdbd8c894da72654 (patch)
treeff082dcc24263c401d6b8383252396f89cf38f98 /core/source/test
parent34f6700bbf63482843831a5a3812f1719c8c4e1f (diff)
downloadstringmetric-d330e1f57da90accac66fbdbcdbd8c894da72654.tar.gz
stringmetric-d330e1f57da90accac66fbdbcdbd8c894da72654.tar.bz2
stringmetric-d330e1f57da90accac66fbdbcdbd8c894da72654.zip
Implicit stringCleaner variable no longer applies case and spacing decorators.
Diffstat (limited to 'core/source/test')
-rwxr-xr-xcore/source/test/scala/org/hashtree/stringmetric/JaroMetricSpec.scala2
-rwxr-xr-xcore/source/test/scala/org/hashtree/stringmetric/JaroWinklerMetricSpec.scala2
2 files changed, 4 insertions, 0 deletions
diff --git a/core/source/test/scala/org/hashtree/stringmetric/JaroMetricSpec.scala b/core/source/test/scala/org/hashtree/stringmetric/JaroMetricSpec.scala
index 902606e..a9eeed1 100755
--- a/core/source/test/scala/org/hashtree/stringmetric/JaroMetricSpec.scala
+++ b/core/source/test/scala/org/hashtree/stringmetric/JaroMetricSpec.scala
@@ -5,6 +5,8 @@ import org.scalatest.junit.JUnitRunner
@RunWith(classOf[JUnitRunner])
final class JaroMetricSpec extends ScalaTest {
+ implicit val stringMetric = new StringCleanerDelegate with CaseStringCleaner with SpaceStringCleaner
+
"JaroMetric" should provide {
"compare method" when passed {
"valid arguments" should returns {
diff --git a/core/source/test/scala/org/hashtree/stringmetric/JaroWinklerMetricSpec.scala b/core/source/test/scala/org/hashtree/stringmetric/JaroWinklerMetricSpec.scala
index a7dfb72..9da716a 100755
--- a/core/source/test/scala/org/hashtree/stringmetric/JaroWinklerMetricSpec.scala
+++ b/core/source/test/scala/org/hashtree/stringmetric/JaroWinklerMetricSpec.scala
@@ -5,6 +5,8 @@ import org.scalatest.junit.JUnitRunner
@RunWith(classOf[JUnitRunner])
final class JaroWinklerMetricSpec extends ScalaTest {
+ implicit val stringMetric = new StringCleanerDelegate with CaseStringCleaner with SpaceStringCleaner
+
"JaroWinklerMetric" should provide {
"compare method" when passed {
"valid arguments" should returns {