about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-10-29 08:01:08 +0000
committerEric Wong <e@80x24.org>2019-10-29 08:01:08 +0000
commitb10f5b38d524377fc4bc93899fba5fe0132635a1 (patch)
tree6e47d10132895f34d4fb23ba4550434b3cf0590b
parentdcaab8249ec06afce4110fc4ec63dd919d510056 (diff)
downloadmogilefs-client-b10f5b38d524377fc4bc93899fba5fe0132635a1.tar.gz
lasterr and lasterrstr are already readers, so we only need
to expose them as writers, not as both.
-rw-r--r--test/test_client.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_client.rb b/test/test_client.rb
index a6e6c1f..cbf298a 100644
--- a/test/test_client.rb
+++ b/test/test_client.rb
@@ -3,7 +3,8 @@ require 'test/unit'
 require 'mogilefs'
 
 class MogileFS::Backend
-  attr_accessor :timeout, :lasterr, :lasterrstr, :hosts
+  attr_accessor :timeout, :hosts
+  attr_writer :lasterr, :lasterrstr
 end
 
 class MogileFS::Client