Skip to content

Commit

Permalink
Fixed style violation.
Browse files Browse the repository at this point in the history
  • Loading branch information
rxin committed Jun 7, 2015
1 parent c0eb74b commit 857599f
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -74,7 +74,7 @@ class CastSuite extends SparkFunSuite with ExpressionEvalHelper {
checkEvaluation(cast(123L, DecimalType(3, 1)), Decimal(123.0))

// TODO: Fix the following bug and re-enable it.
//checkEvaluation(cast(123L, DecimalType(2, 0)), null)
// checkEvaluation(cast(123L, DecimalType(2, 0)), null)
}

test("cast from boolean") {
Expand Down Expand Up @@ -153,7 +153,7 @@ class CastSuite extends SparkFunSuite with ExpressionEvalHelper {
DecimalType.Unlimited), LongType), StringType), ShortType),
0.toShort)
checkEvaluation(
cast(cast(cast(cast(cast(cast("5", TimestampType),ByteType),
cast(cast(cast(cast(cast(cast("5", TimestampType), ByteType),
DecimalType.Unlimited), LongType), StringType), ShortType),
null)
checkEvaluation(cast(cast(cast(cast(cast(cast("5", DecimalType.Unlimited),
Expand Down

0 comments on commit 857599f

Please sign in to comment.