diff options
author | Jakob Odersky <jakob@driver.xyz> | 2017-11-08 18:28:43 -0800 |
---|---|---|
committer | Jakob Odersky <jakob@driver.xyz> | 2017-11-08 18:30:05 -0800 |
commit | 574cda580870d21de506eecf0ac9dd25bdc4be72 (patch) | |
tree | 9c5d7e27ea5c05fa6e12c2ddfc0a1f302b8d9030 /src/test/scala/xyz/driver/pdsuicommon/parsers | |
parent | 1a172285403e77658db9d0331a5b7235946b90eb (diff) | |
download | rest-query-574cda580870d21de506eecf0ac9dd25bdc4be72.tar.gz rest-query-574cda580870d21de506eecf0ac9dd25bdc4be72.tar.bz2 rest-query-574cda580870d21de506eecf0ac9dd25bdc4be72.zip |
Upgrade sbt settings and support Scala 2.12v0.14.0
Diffstat (limited to 'src/test/scala/xyz/driver/pdsuicommon/parsers')
-rw-r--r-- | src/test/scala/xyz/driver/pdsuicommon/parsers/TestUtils.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/scala/xyz/driver/pdsuicommon/parsers/TestUtils.scala b/src/test/scala/xyz/driver/pdsuicommon/parsers/TestUtils.scala index 09b60ed..8ab2131 100644 --- a/src/test/scala/xyz/driver/pdsuicommon/parsers/TestUtils.scala +++ b/src/test/scala/xyz/driver/pdsuicommon/parsers/TestUtils.scala @@ -21,7 +21,7 @@ object TestUtils { MatchResult( left.isFailure && left.failed.get.getClass == ct.runtimeClass, left match { - case Success(x) => s"$left did not fail" + case Success(_) => s"$left did not fail" case Failure(e) => s"$left did fail with ${Utils.getClassSimpleName(e.getClass)}, " + s"not ${Utils.getClassSimpleName(ct.runtimeClass)}" @@ -45,7 +45,7 @@ object TestUtils { def failureProp: Prop = self match { case Success(x) => false :| s"invalid: $x" - case Failure(e) => true + case Failure(_) => true } } |