From 8c572759ffea46adfcecb067d573b7e2eea820ed Mon Sep 17 00:00:00 2001 From: Ivan K Date: Mon, 21 Oct 2024 23:40:19 +0300 Subject: [PATCH] Regression test for .checkTypos --- inst/tests/tests.Rraw | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inst/tests/tests.Rraw b/inst/tests/tests.Rraw index c530b2fd1..2e90de1ba 100644 --- a/inst/tests/tests.Rraw +++ b/inst/tests/tests.Rraw @@ -20591,3 +20591,6 @@ setDT(d2) test(2295.1, !is.data.table(d1)) test(2295.2, rownames(d1), 'b') test(2295.3, is.data.table(d2)) + +# #6588: .checkTypos used to give arbitrary strings to stopf as the first argument +test(2296, d2[x %no such operator% 1], error = '%no such operator%')