summaryrefslogtreecommitdiff
path: root/libvxi11client/perlbits/VXI11-Client.t
diff options
context:
space:
mode:
authordaniel <danieruru@gmail.com>2013-01-24 00:24:08 +0900
committerdaniel <danieruru@gmail.com>2013-01-24 00:24:08 +0900
commit3d93dca40deb1c8484a865a85a548b8417b4559f (patch)
treec04cd93bada76a90bc27bbf1ec7cda21b254c24f /libvxi11client/perlbits/VXI11-Client.t
parent0aa0890888c28cff1a2f7b15e8ccda050bce08a8 (diff)
named parameters for read()
Diffstat (limited to 'libvxi11client/perlbits/VXI11-Client.t')
-rw-r--r--libvxi11client/perlbits/VXI11-Client.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvxi11client/perlbits/VXI11-Client.t b/libvxi11client/perlbits/VXI11-Client.t
index e31460e..2691ed2 100644
--- a/libvxi11client/perlbits/VXI11-Client.t
+++ b/libvxi11client/perlbits/VXI11-Client.t
@@ -23,7 +23,7 @@ my $instr = &VXI11::Client::vxi_open("roi", 0);
is($instr->vxi_lock(0), 1, "Lock");
ok($instr->vxi_write(data => "*IDN?") > 0, "Write");
-my ($bytes, $buff, $reason) = $instr->vxi_read(256, 0, 0, 0);
+my ($bytes, $buff, $reason) = $instr->vxi_read();
print "got " . $bytes . ";" . $buff . "\n";
ok($bytes > 0, "Read");