Skip to content

Commit

Permalink
no 'expect_output' on main githist fn test
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Jul 10, 2024
1 parent 75453a4 commit b682ab3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: githist
Title: Code analyses traced along the 'git' history of a package
Version: 0.0.1.023
Version: 0.0.1.024
Authors@R:
person("Mark", "Padgham", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-2172-5265"))
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"codeRepository": "https://github.com/ropensci-review-tools/githist",
"issueTracker": "https://github.com/ropensci-review-tools/githist/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "0.0.1.023",
"version": "0.0.1.024",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down
4 changes: 1 addition & 3 deletions tests/testthat/test-testpkg.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ test_that ("testpkg and input errors", {
expect_error (githist (path, step_size = 1:2))
expect_error (githist (path, step_size = "1"))

expect_output (
res <- githist (path)
)
res <- githist (path)

expect_type (res, "list")
expect_length (res, 3L)
Expand Down

0 comments on commit b682ab3

Please sign in to comment.