X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=t%2F29-events.t;h=c8e851ec978f3c08cd07cac6e31681ef2c3a4f68;hb=d9d033ffe212064a8d1a9f97efea04d4192d604b;hp=adc257a0b7282f503cc771ec00184909591d68e7;hpb=4c98cedc7dd307771716b74e36865795df11c2e4;p=ZOOM-Perl-moved-to-github.git diff --git a/t/29-events.t b/t/29-events.t index adc257a..c8e851e 100644 --- a/t/29-events.t +++ b/t/29-events.t @@ -1,4 +1,4 @@ -# $Id: 29-events.t,v 1.1 2006-04-12 12:16:45 mike Exp $ +# $Id: 29-events.t,v 1.4 2006-11-02 17:48:26 mike Exp $ # Before `make install' is performed this script should be runnable with # `make test'. After `make install' it should work as `perl 19-events.t' @@ -14,11 +14,8 @@ ok(ZOOM::event_str(ZOOM::Event::CONNECT) eq "connect", my($errcode, $errmsg, $addinfo) = (undef, "dummy", "dummy"); -my $options = new ZOOM::Options(); -$options->option(async => 1); - -my $host = "indexdata.com/gils"; -my $conn = create ZOOM::Connection($options); +my $host = "z3950.indexdata.com/gils"; +my $conn = create ZOOM::Connection(async => 1); eval { $conn->connect($host) }; ok(!$@, "connection to '$host'");