[Rprotobuf-commits] r489 - pkg/inst/unitTests
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Fri Oct 5 22:50:35 CEST 2012
Author: murray
Date: 2012-10-05 22:50:34 +0200 (Fri, 05 Oct 2012)
New Revision: 489
Modified:
pkg/inst/unitTests/runit.addressbook.R
Log:
Correct syntax error with ')' added on incorrect line. Somehow this
slipped in a previous CL, which means the unit tests don't work
properly for 0.2.6.
Modified: pkg/inst/unitTests/runit.addressbook.R
===================================================================
--- pkg/inst/unitTests/runit.addressbook.R 2012-10-04 00:40:47 UTC (rev 488)
+++ pkg/inst/unitTests/runit.addressbook.R 2012-10-05 20:50:34 UTC (rev 489)
@@ -45,10 +45,10 @@
# Verify that we get an exception if we try to read from a text connection.
# (better than silently getting an empty proto.)
- book4 <- checkException( readASCII( tutorial.AddressBook, file(out.file, "rt"))
+ book4 <- checkException( readASCII( tutorial.AddressBook, file(out.file, "rt")))
# Verify that we get an exception if the file is not readable.
- old.mode <- file.info(out.file)[["mode"]])
+ old.mode <- file.info(out.file)[["mode"]]
Sys.chmod(out.file, "0000")
book5 <- checkException( readASCII( tutorial.AddressBook, file(out.file, "rb")))
# Set the permissions back to ensure the file is cleaned up properly.
More information about the Rprotobuf-commits
mailing list