Skip to content

Commit 219b6f5

Browse files
committed
fix typo
1 parent d0b17cf commit 219b6f5

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

tests/testthat/test_refmodel.R

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -260,15 +260,10 @@ test_that(paste(
260260

261261
# Without `ynew`:
262262
expect_warning(
263-
predref_resp <- withCallingHandlers(
264-
predict(refmods[[tstsetup]], dat,
265-
weightsnew = wobs_crr,
266-
offsetnew = offs_crr,
267-
type = "response"),
268-
),
269-
get_warn_wrhs_orhs(tstsetup,
270-
weightsnew = wobs_crr,
271-
offsetnew = offs_crr),
263+
predref_resp <- predict(refmods[[tstsetup]], dat, weightsnew = wobs_crr,
264+
offsetnew = offs_crr, type = "response"),
265+
get_warn_wrhs_orhs(tstsetup, weightsnew = wobs_crr,
266+
offsetnew = offs_crr),
272267
info = tstsetup
273268
)
274269

0 commit comments

Comments
 (0)