-
- Downloads
[SPARK-7714] [SPARKR] SparkR tests should use more specific expectations than expect_true
1. Update the pattern 'expect_true(a == b)' to 'expect_equal(a, b)'. 2. Update the pattern 'expect_true(inherits(a, b))' to 'expect_is(a, b)'. 3. Update the pattern 'expect_true(identical(a, b))' to 'expect_identical(a, b)'. Author: Sun Rui <rui.sun@intel.com> Closes #7152 from sun-rui/SPARK-7714 and squashes the following commits: 8ad2440 [Sun Rui] Fix test case errors. 8fe9f0c [Sun Rui] Update the pattern 'expect_true(identical(a, b))' to 'expect_identical(a, b)'. f1b8005 [Sun Rui] Update the pattern 'expect_true(inherits(a, b))' to 'expect_is(a, b)'. f631e94 [Sun Rui] Update the pattern 'expect_true(a == b)' to 'expect_equal(a, b)'.
Showing
- R/pkg/inst/tests/test_binaryFile.R 1 addition, 1 deletionR/pkg/inst/tests/test_binaryFile.R
- R/pkg/inst/tests/test_binary_function.R 2 additions, 2 deletionsR/pkg/inst/tests/test_binary_function.R
- R/pkg/inst/tests/test_includeJAR.R 2 additions, 2 deletionsR/pkg/inst/tests/test_includeJAR.R
- R/pkg/inst/tests/test_parallelize_collect.R 1 addition, 1 deletionR/pkg/inst/tests/test_parallelize_collect.R
- R/pkg/inst/tests/test_rdd.R 2 additions, 2 deletionsR/pkg/inst/tests/test_rdd.R
- R/pkg/inst/tests/test_sparkSQL.R 177 additions, 177 deletionsR/pkg/inst/tests/test_sparkSQL.R
- R/pkg/inst/tests/test_take.R 4 additions, 4 deletionsR/pkg/inst/tests/test_take.R
- R/pkg/inst/tests/test_textFile.R 3 additions, 3 deletionsR/pkg/inst/tests/test_textFile.R
- R/pkg/inst/tests/test_utils.R 2 additions, 2 deletionsR/pkg/inst/tests/test_utils.R
Loading
Please register or sign in to comment