Skip to content

Commit

Permalink
Regression test for .checkTypos
Browse files Browse the repository at this point in the history
  • Loading branch information
aitap committed Oct 21, 2024
1 parent c9c818a commit 8c57275
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions inst/tests/tests.Rraw
Original file line number Diff line number Diff line change
Expand Up @@ -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%')

0 comments on commit 8c57275

Please sign in to comment.