Skip to content

Commit

Permalink
#291 Fix failing unit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
yruslan committed May 29, 2020
1 parent 64d619f commit 76698ed
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -78,8 +78,8 @@ class DefaultSourceSpec extends SparkCobolTestBase {
}
}

it must "throw InvalidParameterException if path to Copybook does not point at a file" in {
intercept[InvalidParameterException] {
it must "throw IllegalArgumentException if path to Copybook does not point at a file" in {
intercept[IllegalArgumentException] {
defaultSource.createRelation(sqlContext, Map[String,String](
PARAM_COPYBOOK_PATH -> testDir.getAbsolutePath,
PARAM_SOURCE_PATH -> testDir.getAbsolutePath
Expand Down

0 comments on commit 76698ed

Please sign in to comment.