Skip to content

Commit

Permalink
[LE-591] Update to use previous version of testthat (#4)
Browse files Browse the repository at this point in the history
* Update reporter-project.R to support fix in testthat
* Bump patch version
  • Loading branch information
machow authored and TimSangster committed May 3, 2019
1 parent 2841a24 commit 75c3e1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: IRkernel.testthat
Title: What the Package Does (one line, title case)
Version: 0.2.0
Version: 0.2.1
Authors@R: person("Michael", "Chow", email = "michael@datacamp.com", role = c("aut", "cre"))
Description: Implements reporter for communicating testthat results to a jupyter client.
License: All Rights Reserved
Expand Down
2 changes: 1 addition & 1 deletion R/reporter-project.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ ProjectReporter <- R6::R6Class("ProjectReporter", inherit = testthat::ListReport
lapply(test$results, `[[`, 'message'),
collapse = '\n')

res <- testthat:::sumarize_one_test_results(test)
res <- testthat:::summarize_one_test_results(test)
success <- !any(res$failed, res$error)
# figure out outcome, e.g. for counting errors later
if (!success) {
Expand Down

0 comments on commit 75c3e1a

Please sign in to comment.