From b103c3b1df14317c50e9d7b2c38724c22bef3714 Mon Sep 17 00:00:00 2001 From: Dewey Dunnington Date: Sun, 7 Aug 2022 13:16:24 -0300 Subject: [PATCH] fix outdated references to register_scalar_function() --- r/tests/testthat/test-compute.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/r/tests/testthat/test-compute.R b/r/tests/testthat/test-compute.R index 9e487169f4b15..27d5339abfd04 100644 --- a/r/tests/testthat/test-compute.R +++ b/r/tests/testthat/test-compute.R @@ -145,7 +145,7 @@ test_that("arrow_scalar_function() with bad return type errors", { ) }) -test_that("register_user_defined_function() can register multiple kernels", { +test_that("register_scalar_function() can register multiple kernels", { skip_if_not(CanRunWithCapturedR()) register_scalar_function( @@ -173,7 +173,7 @@ test_that("register_user_defined_function() can register multiple kernels", { ) }) -test_that("register_user_defined_function() errors for unsupported specifications", { +test_that("register_scalar_function() errors for unsupported specifications", { expect_error( register_scalar_function( "no_kernels",