Skip to content
Snippets Groups Projects
Commit a0f08024 authored by stepan's avatar stepan
Browse files

Fix syntax error in testrffi/test/simpleTests.R

parent 4a81767a
Branches
No related tags found
No related merge requests found
...@@ -27,8 +27,8 @@ strVec <- rffi.getStringNA(); ...@@ -27,8 +27,8 @@ strVec <- rffi.getStringNA();
stopifnot(anyNA(strVec)) stopifnot(anyNA(strVec))
x <- list(1) x <- list(1)
attribute(x, 'myattr') <- 'hello'; attr(x, 'myattr') <- 'hello';
attrs <- ATTRIB(x) attrs <- rffi.ATTRIB(x)
stopifnot(attrs[[1]] == 'hello') stopifnot(attrs[[1]] == 'hello')
# loess invokes loess_raw native function passing in string value as argument and that is what we test here. # loess invokes loess_raw native function passing in string value as argument and that is what we test here.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment