diff options
author | Bryan Newbold <bnewbold@archive.org> | 2018-08-23 17:50:23 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2018-08-23 17:50:23 -0700 |
commit | 2656af2686aa73d0061a581bef3b9ca9d4ad8451 (patch) | |
tree | 3fd9332695067458368581aca6254a305ae1e080 /scalding/src/test/scala/sandcrawler/GrobidScorableDumpJobTest.scala | |
parent | 2ab704a09db06ab776bd4cf59974e5f65f5e7c38 (diff) | |
download | sandcrawler-2656af2686aa73d0061a581bef3b9ca9d4ad8451.tar.gz sandcrawler-2656af2686aa73d0061a581bef3b9ca9d4ad8451.zip |
set a minimum slug size (8 chars)
Diffstat (limited to 'scalding/src/test/scala/sandcrawler/GrobidScorableDumpJobTest.scala')
-rw-r--r-- | scalding/src/test/scala/sandcrawler/GrobidScorableDumpJobTest.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scalding/src/test/scala/sandcrawler/GrobidScorableDumpJobTest.scala b/scalding/src/test/scala/sandcrawler/GrobidScorableDumpJobTest.scala index 12e13dc..bf9343b 100644 --- a/scalding/src/test/scala/sandcrawler/GrobidScorableDumpJobTest.scala +++ b/scalding/src/test/scala/sandcrawler/GrobidScorableDumpJobTest.scala @@ -78,14 +78,14 @@ class GrobidScorableDumpJobTest extends FlatSpec with Matchers { "sha1:024937534094897039547e9824382943") // bad status val JsonStrings : List[String] = List( - JsonString.replace("<<TITLE>>", "Title 1"), + JsonString.replace("<<TITLE>>", "Title 1: The Classic"), JsonString.replace("<<TITLE>>", "Title 2: TNG"), JsonString.replace("<<TITLE>>", "Title 3: The Sequel"), // This will have bad status. - JsonString.replace("<<TITLE>>", "Title 1"), + JsonString.replace("<<TITLE>>", "Title 1: The Classic"), MalformedJsonString, // This will have bad status. - JsonString.replace("<<TITLE>>", "Title 2") + JsonString.replace("<<TITLE>>", "Title 2: Not TNG") ) // bnewbold: status codes aren't strings, they are uint64 |