1 parent e1aa6f6 commit f6ef0deCopy full SHA for f6ef0de
1 file changed
tests/testthat/test-errors.R
@@ -0,0 +1,9 @@
1
+test_that("case-sensitive variable name clashes", {
2
+ expect_error(regexp = "case-insensitive.+`j`.+`J`", {
3
+ quick(function(j) {
4
+ declare(type(j = integer(1)))
5
+ J <- double(length = j)
6
+ J
7
+ })
8
9
+})
0 commit comments