From ce82406eeafb478b9c854c50efaaf42282206cf1 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 10 Mar 2014 14:24:42 +0100 Subject: [PATCH] Events check: allow for multiple Connect events we should in fact allow for multiple events in more places - such as SEND_DATA, RECV_DATA . They are generated for any partial net writes/reads. --- t/19-events.t | 2 +- t/29-events.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/t/19-events.t b/t/19-events.t index 3c286b2..e7745f9 100644 --- a/t/19-events.t +++ b/t/19-events.t @@ -45,7 +45,7 @@ ok(1, "huge array reference argument rejected"); # on any of the connections we pass in. assert_event_stream($conn, - Net::Z3950::ZOOM::EVENT_CONNECT, + -(Net::Z3950::ZOOM::EVENT_CONNECT), Net::Z3950::ZOOM::EVENT_SEND_APDU, Net::Z3950::ZOOM::EVENT_SEND_DATA, Net::Z3950::ZOOM::EVENT_RECV_DATA, diff --git a/t/29-events.t b/t/29-events.t index 5c0ef4b..f93739b 100644 --- a/t/29-events.t +++ b/t/29-events.t @@ -27,7 +27,7 @@ ok(1, "huge array reference argument rejected"); # See comments in 19-event.t assert_event_stream($conn, - ZOOM::Event::CONNECT, + -(ZOOM::Event::CONNECT), ZOOM::Event::SEND_APDU, ZOOM::Event::SEND_DATA, ZOOM::Event::RECV_DATA, -- 1.7.10.4