Skip to content

Commit 1ac4cb9

Browse files
committed
nit: code review
1 parent 89d9b86 commit 1ac4cb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveUtilsSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class HiveUtilsSuite extends QueryTest with SQLTestUtils with TestHiveSingleton
3838
sys.props.put("spark.hadoop.foo", "bar")
3939
Seq(true, false) foreach { useInMemoryDerby =>
4040
val hiveConf = HiveUtils.newTemporaryConfiguration(useInMemoryDerby)
41-
intercept[NoSuchElementException](hiveConf("spark.hadoop.foo") === "bar")
41+
assert(!hiveConf.contains("spark.hadoop.foo"))
4242
assert(hiveConf("foo") === "bar")
4343
}
4444
}

0 commit comments

Comments
 (0)