From: djfiander Date: Tue, 6 Jun 2006 01:21:35 +0000 (+0000) Subject: text fields in the response messages may be empty X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7c84e81a1370f4860d51fbdd3beefcbf858f7994;p=working%2FSIPServer.git text fields in the response messages may be empty --- diff --git a/t/SIPtest.pm b/t/SIPtest.pm index de7e040..41bde25 100644 --- a/t/SIPtest.pm +++ b/t/SIPtest.pm @@ -26,8 +26,8 @@ use Sip::Constants qw(:all); # match timestamp fields (duh). our $datepat = '\d{8} {4}\d{6}'; -# Pattern for a random text field -our $textpat = qr/^[^|]+$/; +# Pattern for a random text field (may be empty) +our $textpat = qr/^[^|]*$/; our %field_specs = ( (FID_SCREEN_MSG) => { field => FID_SCREEN_MSG,