Skip to content

Commit

Permalink
fix: use a character for comparing version
Browse files Browse the repository at this point in the history
  • Loading branch information
vedhav committed May 6, 2024
1 parent 8353ed9 commit 718977a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/TealAppDriver.R
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ TealAppDriver <- R6::R6Class( # nolint: object_name.
strict = FALSE
)

required_version <- 105
required_version <- "105"

testthat::skip_if(
is.na(chrome_version),
Expand All @@ -85,7 +85,7 @@ TealAppDriver <- R6::R6Class( # nolint: object_name.
testthat::skip_if(
chrome_version < required_version,
sprintf(
"Chrome version '%s' is not supported, please upgrade to '%d' or higher",
"Chrome version '%s' is not supported, please upgrade to '%s' or higher",
chrome_version,
required_version
)
Expand Down

0 comments on commit 718977a

Please sign in to comment.