From a03a0affb14becadbff1b02cbf444b41fe278151 Mon Sep 17 00:00:00 2001 From: Jenny Bryan Date: Tue, 5 May 2020 08:21:30 -0700 Subject: [PATCH] Oops should be 'less than OR EQUAL TO' --- tests/testthat/test-drive_find.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-drive_find.R b/tests/testthat/test-drive_find.R index 11f90c82d..f6a33dfda 100644 --- a/tests/testthat/test-drive_find.R +++ b/tests/testthat/test-drive_find.R @@ -81,7 +81,7 @@ test_that("drive_find() tolerates specification of pageSize", { expect_silent({ out <- drive_find(n_max = 10, pageSize = 5, verbose = FALSE) }) - expect_lt(nrow(out), 10) + expect_lte(nrow(out), 10) expect_lt(anyDuplicated(out$id), 1) })