Skip to content

Commit

Permalink
rephrase latest nightly message
Browse files Browse the repository at this point in the history
  • Loading branch information
assignUser committed Nov 30, 2023
1 parent fdc87d3 commit 29b4adb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion r/tools/nixlibs.R
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ find_latest_nightly <- function(description_version,
lg("Failed to find latest nightly for %s", description_version)
latest <- description_version
} else {
lg("Found latest nightly for %s: %s", description_version, res)
lg("Latest available nightly for %s: %s", description_version, res)
latest <- res
}
latest
Expand Down
4 changes: 2 additions & 2 deletions r/tools/test-nixlibs.R
Original file line number Diff line number Diff line change
Expand Up @@ -176,15 +176,15 @@ test_that("find_latest_nightly()", {
find_latest_nightly(package_version("13.0.1.9000"), list_uri = tf_uri),
package_version("13.0.0.100000335")
),
"Found latest nightly"
"Latest available nightly"
)

expect_output(
expect_identical(
find_latest_nightly(package_version("14.0.0.9000"), list_uri = tf_uri),
package_version("14.0.0.100000001")
),
"Found latest nightly"
"Latest available nightly"
)

expect_output(
Expand Down

0 comments on commit 29b4adb

Please sign in to comment.