diff options
author | felixcheung <felixcheung_m@hotmail.com> | 2016-01-03 20:53:35 +0530 |
---|---|---|
committer | Shivaram Venkataraman <shivaram@cs.berkeley.edu> | 2016-01-03 20:53:35 +0530 |
commit | c3d505602de2fd2361633f90e4fff7e041849e28 (patch) | |
tree | ff95f873c56186d6e9f3eb8c72f8528c32fbc9df /R/pkg/inst/tests/testthat/test_shuffle.R | |
parent | 6c5bbd628aaedb6efb44c15f816fea8fb600decc (diff) | |
download | spark-c3d505602de2fd2361633f90e4fff7e041849e28.tar.gz spark-c3d505602de2fd2361633f90e4fff7e041849e28.tar.bz2 spark-c3d505602de2fd2361633f90e4fff7e041849e28.zip |
[SPARK-12327][SPARKR] fix code for lintr warning for commented code
shivaram
Author: felixcheung <felixcheung_m@hotmail.com>
Closes #10408 from felixcheung/rcodecomment.
Diffstat (limited to 'R/pkg/inst/tests/testthat/test_shuffle.R')
-rw-r--r-- | R/pkg/inst/tests/testthat/test_shuffle.R | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/R/pkg/inst/tests/testthat/test_shuffle.R b/R/pkg/inst/tests/testthat/test_shuffle.R index adf0b91d25..d3d0f8a24d 100644 --- a/R/pkg/inst/tests/testthat/test_shuffle.R +++ b/R/pkg/inst/tests/testthat/test_shuffle.R @@ -176,8 +176,8 @@ test_that("partitionBy() partitions data correctly", { resultRDD <- partitionBy(numPairsRdd, 2L, partitionByMagnitude) - expected_first <- list(list(1, 100), list(2, 200)) # key < 3 - expected_second <- list(list(4, -1), list(3, 1), list(3, 0)) # key >= 3 + expected_first <- list(list(1, 100), list(2, 200)) # key less than 3 + expected_second <- list(list(4, -1), list(3, 1), list(3, 0)) # key greater than or equal 3 actual_first <- collectPartition(resultRDD, 0L) actual_second <- collectPartition(resultRDD, 1L) |