aboutsummaryrefslogtreecommitdiffstats
path: root/scalding/src/test/scala
diff options
context:
space:
mode:
authorEllen Spertus <ellen.spertus@gmail.com>2018-09-04 14:45:08 -0700
committerEllen Spertus <ellen.spertus@gmail.com>2018-09-04 14:59:29 -0700
commita905dc0c606710b12d33e1df2dc6b109812f7276 (patch)
tree72934e4095c449372c79ecdf2dc24363728ba182 /scalding/src/test/scala
parent2c9172a3797dd218b5648c5390bf2dfb39d8e3a3 (diff)
downloadsandcrawler-a905dc0c606710b12d33e1df2dc6b109812f7276.tar.gz
sandcrawler-a905dc0c606710b12d33e1df2dc6b109812f7276.zip
minor style improvement
Diffstat (limited to 'scalding/src/test/scala')
-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 {