From 2055f8c0956268deedb88cb7cf03816e37024b89 Mon Sep 17 00:00:00 2001 From: Avraham Adler Date: Thu, 20 Jul 2023 14:24:24 +0300 Subject: [PATCH] It always should have been a message. --- inst/tinytest/test_MiniMaxApprox.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inst/tinytest/test_MiniMaxApprox.R b/inst/tinytest/test_MiniMaxApprox.R index b887f7c..4788ef7 100644 --- a/inst/tinytest/test_MiniMaxApprox.R +++ b/inst/tinytest/test_MiniMaxApprox.R @@ -105,7 +105,7 @@ expect_error(minimaxApprox(fn, -1, 1, 1:3), errMess) ## Polynomial - Check that it is ignored wrnMess <- paste("Polynomial approximation uses Chebyshev nodes for initial", "guess. Any passed xi is ignored.") -expect_warning(minimaxApprox(fn, -1, 1, 10L, xi = 6), wrnMess) +expect_message(minimaxApprox(fn, -1, 1, 10L, xi = 6), wrnMess) ## Rational - Check that proper length is passed errMess <- paste("Given the requested degrees for numerator and denominator,", "the x-vector needs to have 8 elements.")