summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRocky Madden <git@rockymadden.com>2012-11-28 10:19:30 -0700
committerRocky Madden <git@rockymadden.com>2012-11-28 10:19:30 -0700
commitd9b50078bdb65cc7dec218eb5357ecea17f4a772 (patch)
tree167954f4c25e730d59c666bff438905c78c3b66b /core
parent51b0bac8cc86269098d6cabf55316566ffc7ac26 (diff)
downloadstringmetric-d9b50078bdb65cc7dec218eb5357ecea17f4a772.tar.gz
stringmetric-d9b50078bdb65cc7dec218eb5357ecea17f4a772.tar.bz2
stringmetric-d9b50078bdb65cc7dec218eb5357ecea17f4a772.zip
Fixed missing toCharArray calls, which caused tests to fail.
Diffstat (limited to 'core')
-rwxr-xr-xcore/source/test/scala/org/hashtree/stringmetric/filter/AsciiControlOnlyStringFilterSpec.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/source/test/scala/org/hashtree/stringmetric/filter/AsciiControlOnlyStringFilterSpec.scala b/core/source/test/scala/org/hashtree/stringmetric/filter/AsciiControlOnlyStringFilterSpec.scala
index 3272a64..3bacf9b 100755
--- a/core/source/test/scala/org/hashtree/stringmetric/filter/AsciiControlOnlyStringFilterSpec.scala
+++ b/core/source/test/scala/org/hashtree/stringmetric/filter/AsciiControlOnlyStringFilterSpec.scala
@@ -20,8 +20,8 @@ final class AsciiControlOnlyStringFilterSpec extends ScalaTest {
"character array with mixed characters" should returns {
"character array with non-controls removed" in {
Filter.filter("!@#$% ^&*()abc".toCharArray) should equal (" ".toCharArray)
- Filter.filter(" ^&*()abc") should equal (" ".toCharArray)
- Filter.filter("%^&*()abc ") should equal (" ".toCharArray)
+ Filter.filter(" ^&*()abc".toCharArray) should equal (" ".toCharArray)
+ Filter.filter("%^&*()abc ".toCharArray) should equal (" ".toCharArray)
}
}
}