@@ -23,18 +23,18 @@ test_that("SerDe of primitive types", {
2323 x <- callJStatic(" SparkRHandler" , " echo" , 1L )
2424 expect_equal(x , 1L )
2525 expect_equal(class(x ), " integer" )
26-
26+
2727 x <- callJStatic(" SparkRHandler" , " echo" , 1 )
2828 expect_equal(x , 1 )
2929 expect_equal(class(x ), " numeric" )
3030
3131 x <- callJStatic(" SparkRHandler" , " echo" , TRUE )
3232 expect_true(x )
3333 expect_equal(class(x ), " logical" )
34-
34+
3535 x <- callJStatic(" SparkRHandler" , " echo" , " abc" )
3636 expect_equal(x , " abc" )
37- expect_equal(class(x ), " character" )
37+ expect_equal(class(x ), " character" )
3838})
3939
4040test_that(" SerDe of list of primitive types" , {
@@ -47,17 +47,17 @@ test_that("SerDe of list of primitive types", {
4747 y <- callJStatic(" SparkRHandler" , " echo" , x )
4848 expect_equal(x , y )
4949 expect_equal(class(y [[1 ]]), " numeric" )
50-
50+
5151 x <- list (TRUE , FALSE )
5252 y <- callJStatic(" SparkRHandler" , " echo" , x )
5353 expect_equal(x , y )
5454 expect_equal(class(y [[1 ]]), " logical" )
55-
55+
5656 x <- list (" a" , " b" , " c" )
5757 y <- callJStatic(" SparkRHandler" , " echo" , x )
5858 expect_equal(x , y )
5959 expect_equal(class(y [[1 ]]), " character" )
60-
60+
6161 # Empty list
6262 x <- list ()
6363 y <- callJStatic(" SparkRHandler" , " echo" , x )
0 commit comments