diff options
author | Rocky Madden <git@rockymadden.com> | 2014-01-06 10:51:09 -0700 |
---|---|---|
committer | Rocky Madden <git@rockymadden.com> | 2014-01-06 10:51:09 -0700 |
commit | fa6545a0f828112adf61d97edb58b24dd8bc3693 (patch) | |
tree | 11ee1e7bf34635d267baafa24386e6c768e6df08 /cli | |
parent | 7b33ad53548c53ce1b8441871fc67fc67f456fdd (diff) | |
download | stringmetric-fa6545a0f828112adf61d97edb58b24dd8bc3693.tar.gz stringmetric-fa6545a0f828112adf61d97edb58b24dd8bc3693.tar.bz2 stringmetric-fa6545a0f828112adf61d97edb58b24dd8bc3693.zip |
Fixed typos.
Diffstat (limited to 'cli')
3 files changed, 3 insertions, 3 deletions
diff --git a/cli/src/test/scala/com/rockymadden/stringmetric/cli/phonetic/soundexmetricSpec.scala b/cli/src/test/scala/com/rockymadden/stringmetric/cli/phonetic/soundexmetricSpec.scala index 5bac540..433bb97 100755 --- a/cli/src/test/scala/com/rockymadden/stringmetric/cli/phonetic/soundexmetricSpec.scala +++ b/cli/src/test/scala/com/rockymadden/stringmetric/cli/phonetic/soundexmetricSpec.scala @@ -1,7 +1,7 @@ package com.rockymadden.stringmetric.cli.phonetic object soundexmetricSpec extends org.specs2.mutable.SpecificationWithJUnit { - "print if they are a match with soundexmetric main()" should { + "soundexmetric main()" should { "print if they are a match with valid dashless arguments" in { val out = new java.io.ByteArrayOutputStream() diff --git a/cli/src/test/scala/com/rockymadden/stringmetric/cli/similarity/hammingmetricSpec.scala b/cli/src/test/scala/com/rockymadden/stringmetric/cli/similarity/hammingmetricSpec.scala index 736e46b..0f33097 100755 --- a/cli/src/test/scala/com/rockymadden/stringmetric/cli/similarity/hammingmetricSpec.scala +++ b/cli/src/test/scala/com/rockymadden/stringmetric/cli/similarity/hammingmetricSpec.scala @@ -12,7 +12,7 @@ object hammingmetricSpec extends org.specs2.mutable.SpecificationWithJUnit { Console.withOut(out)(hammingmetric.main(Array("--unitTest", "--debug", "abc", "xyz"))) out.toString must beEqualTo("3\n") } - "throw IllegalArgumentException no dashless arguments" in { + "throw IllegalArgumentException with no dashless arguments" in { hammingmetric.main(Array("--unitTest", "--debug")) must throwA[IllegalArgumentException] } } diff --git a/cli/src/test/scala/com/rockymadden/stringmetric/cli/similarity/jaccardmetricSpec.scala b/cli/src/test/scala/com/rockymadden/stringmetric/cli/similarity/jaccardmetricSpec.scala index 4fa5c86..41bd390 100755 --- a/cli/src/test/scala/com/rockymadden/stringmetric/cli/similarity/jaccardmetricSpec.scala +++ b/cli/src/test/scala/com/rockymadden/stringmetric/cli/similarity/jaccardmetricSpec.scala @@ -12,7 +12,7 @@ object jaccardmetricSpec extends org.specs2.mutable.SpecificationWithJUnit { Console.withOut(out)(jaccardmetric.main(Array("--unitTest", "--debug", "--n=2", "abc", "xyz"))) out.toString must beEqualTo("0.0\n") } - "throw IllegalArgumentException no dashless arguments" in { + "throw IllegalArgumentException with no dashless arguments" in { jaccardmetric.main(Array("--unitTest", "--debug")) must throwA[IllegalArgumentException] } } |