aboutsummaryrefslogtreecommitdiffstats
path: root/scalding/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'scalding/src/test')
-rw-r--r--scalding/src/test/scala/sandcrawler/ScorableFeaturesTest.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/scalding/src/test/scala/sandcrawler/ScorableFeaturesTest.scala b/scalding/src/test/scala/sandcrawler/ScorableFeaturesTest.scala
index 3f6b87c..112a5e5 100644
--- a/scalding/src/test/scala/sandcrawler/ScorableFeaturesTest.scala
+++ b/scalding/src/test/scala/sandcrawler/ScorableFeaturesTest.scala
@@ -16,11 +16,11 @@ class ScorableFeaturesTest extends FlatSpec with Matchers {
private def titleToSlug(s : String) : Option[String] = ScorableFeatures.create(title = s).toSlug
"mapToSlug()" should "extract the parts of titles before a colon" in {
- titleToSlug("HELLO:there") shouldBe (Some("hellothere"))
+ titleToSlug("HELLO:there") shouldBe Some("hellothere")
}
it should "extract an entire colon-less string" in {
- titleToSlug("hello THERE") shouldBe (Some("hellothere"))
+ titleToSlug("hello THERE") shouldBe Some("hellothere")
}
it should "return Scorable.NoSlug if given empty string" in {