From 4f14fc514f098f5725e26f1f56bf032710b2a870 Mon Sep 17 00:00:00 2001 From: James McMahon Date: Thu, 25 Jul 2024 14:16:28 +0100 Subject: [PATCH] Don't care about variable order in tests --- tests/testthat/test-get_simd_postcode.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/testthat/test-get_simd_postcode.R b/tests/testthat/test-get_simd_postcode.R index b628457..465824f 100644 --- a/tests/testthat/test-get_simd_postcode.R +++ b/tests/testthat/test-get_simd_postcode.R @@ -35,7 +35,8 @@ test_that("col selection works with tidyselect", { expect_named( get_simd_postcode(col_select = dplyr::matches("pc[78]")), - c("pc7", "pc8") + c("pc7", "pc8"), + ignore.order = TRUE ) |> expect_message() })