projects
/
ZOOM-Perl-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
af084f3
)
Nicer option-setting syntax.
author
mike
<mike>
Tue, 8 Nov 2005 14:46:31 +0000
(14:46 +0000)
committer
mike
<mike>
Tue, 8 Nov 2005 14:46:31 +0000
(14:46 +0000)
t/16-packages.t
patch
|
blob
|
history
diff --git
a/t/16-packages.t
b/t/16-packages.t
index
8dfce9e
..
b48d467
100644
(file)
--- a/
t/16-packages.t
+++ b/
t/16-packages.t
@@
-1,4
+1,4
@@
-# $Id: 16-packages.t,v 1.1 2005-11-08 13:47:11 mike Exp $
+# $Id: 16-packages.t,v 1.2 2005-11-08 14:46:31 mike Exp $
# Before `make install' is performed this script should be runnable with
# `make test'. After `make install' it should work as `perl 16-packages.t'
# Before `make install' is performed this script should be runnable with
# `make test'. After `make install' it should work as `perl 16-packages.t'
@@
-22,7
+22,7
@@
my $p = Net::Z3950::ZOOM::connection_package($conn, $o);
ok(defined $p, "created package");
# There may be useful options to set, but this is not one of them!
ok(defined $p, "created package");
# There may be useful options to set, but this is not one of them!
-Net::Z3950::ZOOM::package_option_set($p, "foo", "bar");
+Net::Z3950::ZOOM::package_option_set($p, foo => "bar");
my $val = Net::Z3950::ZOOM::package_option_get($p, "foo");
ok($val eq "bar", "package option retrieved as expected");
my $val = Net::Z3950::ZOOM::package_option_get($p, "foo");
ok($val eq "bar", "package option retrieved as expected");