File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
R/pkg/inst/tests/testthat Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -232,9 +232,9 @@ test_that("basenameSansExtFromUrl", {
232232 x <- paste0(" http://people.apache.org/~pwendell/spark-nightly/spark-branch-2.1-bin/spark-2.1.1-" ,
233233 " SNAPSHOT-2016_12_09_11_08-eb2d9bf-bin/spark-2.1.1-SNAPSHOT-bin-hadoop2.7.tgz" )
234234 y <- paste0(" http://people.apache.org/~pwendell/spark-releases/spark-2.1.0-rc2-bin/spark-2.1.0-" ,
235- " bin-hadoop2.4 -without-hive.tgz" )
235+ " bin-hadoop2.6 -without-hive.tgz" )
236236 expect_equal(basenameSansExtFromUrl(x ), " spark-2.1.1-SNAPSHOT-bin-hadoop2.7" )
237- expect_equal(basenameSansExtFromUrl(y ), " spark-2.1.0-bin-hadoop2.4 -without-hive" )
237+ expect_equal(basenameSansExtFromUrl(y ), " spark-2.1.0-bin-hadoop2.6 -without-hive" )
238238 z <- " http://people.apache.org/~pwendell/spark-releases/spark-2.1.0--hive.tar.gz"
239239 expect_equal(basenameSansExtFromUrl(z ), " spark-2.1.0--hive" )
240240})
You can’t perform that action at this time.
0 commit comments