From e928ed4e9ab49c5b89869d3fbc7049665ebbc1d1 Mon Sep 17 00:00:00 2001 From: Adam Welc <adam.welc@oracle.com> Date: Fri, 11 Mar 2016 16:27:45 -0800 Subject: [PATCH] Regenerated tests. --- .../com/oracle/truffle/r/test/ExpectedTestOutput.test | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/ExpectedTestOutput.test b/com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/ExpectedTestOutput.test index a7dc024aac..42f433764e 100644 --- a/com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/ExpectedTestOutput.test +++ b/com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/ExpectedTestOutput.test @@ -2157,6 +2157,10 @@ In any(1) : coercing argument of type 'double' to logical #{ any(logical(0)) } [1] FALSE +##com.oracle.truffle.r.test.builtins.TestBuiltin_any.testAny +#{ d<-data.frame(c(1L,2L), c(10L, 20L)); any(d) } +[1] TRUE + ##com.oracle.truffle.r.test.builtins.TestBuiltin_any.testany1 #argv <- list(structure(c(TRUE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE), .Tsp = c(1, 101, 1), class = 'ts'));any(argv[[1]]); [1] TRUE @@ -52367,6 +52371,11 @@ character(0) ##com.oracle.truffle.r.test.library.base.TestConnections.testWriteConnection #{ con <- textConnection("tcval", open="w"); writeLines("a\nb", con); tcval; close(con) } +##com.oracle.truffle.r.test.library.base.TestConnections.testWriteConnection +#{ d<-data.frame(c(1,2), c(10, 20)); buf<-character(); c<-textConnection("buf", open="w", local=T); write.table(d, c); buf } +[1] "\"c.1..2.\" \"c.10..20.\"" "\"1\" 1 10" +[3] "\"2\" 2 20" + ##com.oracle.truffle.r.test.library.base.TestConnections.testWriteTextReadConnection #{ writeChar("x", textConnection("abc")) } Error in writeChar("x", textConnection("abc")) : -- GitLab