From a0f0802416f77c2ef436ddba73f18faa43922168 Mon Sep 17 00:00:00 2001 From: stepan <stepan.sindelar@oracle.com> Date: Fri, 21 Jul 2017 10:46:57 +0200 Subject: [PATCH] Fix syntax error in testrffi/test/simpleTests.R --- .../packages/testrffi/testrffi/tests/simpleTests.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/com.oracle.truffle.r.test.native/packages/testrffi/testrffi/tests/simpleTests.R b/com.oracle.truffle.r.test.native/packages/testrffi/testrffi/tests/simpleTests.R index 652761e3bb..87e923d598 100644 --- a/com.oracle.truffle.r.test.native/packages/testrffi/testrffi/tests/simpleTests.R +++ b/com.oracle.truffle.r.test.native/packages/testrffi/testrffi/tests/simpleTests.R @@ -27,8 +27,8 @@ strVec <- rffi.getStringNA(); stopifnot(anyNA(strVec)) x <- list(1) -attribute(x, 'myattr') <- 'hello'; -attrs <- ATTRIB(x) +attr(x, 'myattr') <- 'hello'; +attrs <- rffi.ATTRIB(x) stopifnot(attrs[[1]] == 'hello') # loess invokes loess_raw native function passing in string value as argument and that is what we test here. -- GitLab