Changeset 639

Show
Ignore:
Timestamp:
11/16/07 07:44:30 (1 year ago)
Author:
dormando
Message:

Updated CAS test for sending empty value (Chris Goffinet goffinet@yahoo-inc.com)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/server/t/cas.t

    r637 r639  
    22 
    33use strict; 
    4 use Test::More tests => 9
     4use Test::More tests => 10
    55use FindBin qw($Bin); 
    66use lib "$Bin/lib"; 
     
    4848is(scalar <$sock>, "NOT_FOUND\r\n", "cas failed, foo does not exist"); 
    4949 
     50# cas empty 
     51print $sock "cas foo 0 0 6 \r\nbarva2\r\n"; 
     52is(scalar <$sock>, "ERROR\r\n", "cas empty, throw error"); 
     53