Skip to content

Commit e9d720e

Browse files
committed
Address comments.
1 parent b8625a2 commit e9d720e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/pkg/inst/tests/testthat/test_utils.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
})

0 commit comments

Comments
 (0)