Skip to content

Commit 726bd3c

Browse files
committed
Fix indentation for the previous patch.
1 parent 5028a00 commit 726bd3c

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

sql/core/src/test/scala/org/apache/spark/sql/SQLConfSuite.scala

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -113,22 +113,20 @@ class SQLConfSuite extends QueryTest with SharedSQLContext {
113113

114114
// Test overflow exception
115115
intercept[IllegalArgumentException] {
116-
// This value exceeds Long.MaxValue
117-
// Utils.byteStringAsBytes("90000000000g")
118-
sqlContext.setConf(SQLConf.SHUFFLE_TARGET_POSTSHUFFLE_INPUT_SIZE.key, "90000000000g")
116+
// This value exceeds Long.MaxValue
117+
sqlContext.setConf(SQLConf.SHUFFLE_TARGET_POSTSHUFFLE_INPUT_SIZE.key, "90000000000g")
119118
}
120119

121120
intercept[IllegalArgumentException] {
122-
// This value less than Int.MinValue
123-
// Utils.byteStringAsBytes("-90000000000g")
121+
// This value less than Int.MinValue
124122
sqlContext.setConf(SQLConf.SHUFFLE_TARGET_POSTSHUFFLE_INPUT_SIZE.key, "-90000000000g")
125-
}
123+
}
124+
126125
// Test invalid input
127126
intercept[IllegalArgumentException] {
128-
// This value exceeds Long.MaxValue
129-
// Utils.byteStringAsBytes("-1g")
130-
sqlContext.setConf(SQLConf.SHUFFLE_TARGET_POSTSHUFFLE_INPUT_SIZE.key, "-1g")
131-
}
127+
// This value exceeds Long.MaxValue
128+
sqlContext.setConf(SQLConf.SHUFFLE_TARGET_POSTSHUFFLE_INPUT_SIZE.key, "-1g")
129+
}
132130
sqlContext.conf.clear()
133131
}
134132
}

0 commit comments

Comments
 (0)