Skip to content

Commit

Permalink
update error message
Browse files Browse the repository at this point in the history
ref #396
  • Loading branch information
wibeasley committed Jul 19, 2022
1 parent 65e9b39 commit 3bab1fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-retrieve-credential-mssql.R
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ test_that("dsn wrong length", {
test_that("bad type: project_id", {
testthat::skip_on_cran()
testthat::skip_if_not_installed(pkg="odbc")
expected_message <- "The `project_id` parameter be an integer type. Either append an `L` to the number, or cast with `as.integer\\(\\)`."
expected_message <- "The `project_id` parameter should be an integer type. Either append an `L` to the number, or cast with `as.integer\\(\\)`."

#character
expect_error(
Expand All @@ -115,7 +115,7 @@ test_that("bad type: project_id", {
test_that("bad type: instance", {
testthat::skip_on_cran()
testthat::skip_if_not_installed(pkg="odbc")
expected_message <- "The `instance` parameter be a character type. Either enclose in quotes, or cast with `as.character\\(\\)`."
expected_message <- "The `instance` parameter should be a character type. Either enclose in quotes, or cast with `as.character\\(\\)`."

#integer
expect_error(
Expand Down

0 comments on commit 3bab1fc

Please sign in to comment.