From ba06700c94fc29157b198908785c6641eeb44aaa Mon Sep 17 00:00:00 2001 From: Antoine Fabri Date: Tue, 5 Mar 2024 18:01:55 +0100 Subject: [PATCH] oops pipe snapshot --- tests/testthat/test-s3-dots.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-s3-dots.R b/tests/testthat/test-s3-dots.R index 12402ffe..b768ea9b 100644 --- a/tests/testthat/test-s3-dots.R +++ b/tests/testthat/test-s3-dots.R @@ -1,5 +1,5 @@ test_that("dots", { - expect_snapshot({ + expect_pipe_snapshot({ # if dots1 and the evaluation env of `...` is in the same env we have # infinite recursion issues so we use `local()` dots1 <- local((function(...) environment()$...)(a=x, y))