Skip to content

Commit

Permalink
fix makeExpectation
Browse files Browse the repository at this point in the history
  • Loading branch information
mllg committed Aug 18, 2021
1 parent cb26624 commit 90143ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/makeExpectation.R
Expand Up @@ -81,7 +81,7 @@ makeExpectation = function(x, res, info, label) {
stop("Package 'testthat' is required for checkmate's 'expect_*' extensions with backend 'testthat'")

if (!is.null(info)) {
info = sprintf("%s\nAdditional info: %s", info)
info = sprintf("Additional info: %s", info)
}

if (isTRUE(res)) {
Expand Down

0 comments on commit 90143ec

Please sign in to comment.