Skip to content

Commit

Permalink
fix test error message expectation
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed May 27, 2015
1 parent f417814 commit e16ea9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Expand Up @@ -3,7 +3,7 @@ Title: Client for the Comprehensive Knowledge Archive Network (CKAN) API
Description: Client for CKAN API (http://ckan.org/). Includes interface
to CKAN APIs for search, list, show for packages, organizations, and
resources. In addition, provides an interface to the 'datastore' API.
Version: 0.0.7.900
Version: 0.0.7.910
Date: 2015-05-27
Authors@R: c(
person("Scott", "Chamberlain", email="myrmecocystus@gmail.com", role = c("aut", "cre")),
Expand Down
3 changes: 1 addition & 2 deletions tests/testthat/test-resource_update.R
Expand Up @@ -42,8 +42,7 @@ test_that("resource_update fails well", {
expect_error(resource_update(rid, "invalid-file-path", url=url, key=key))

# bad url
expect_error(resource_update(rid, path=path, url="invalid-URL", key=key),
"Could not resolve host")
expect_error(resource_update(rid, path=path, url="invalid-URL", key=key))

# bad key
expect_error(resource_update(rid, path=path, url=url, key="invalid-key"),
Expand Down

0 comments on commit e16ea9e

Please sign in to comment.