Ignore:
Timestamp:
Feb 1, 2008, 5:33:49 PM (14 years ago)
Author:
charles
Message:

add more benc unit tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/bencode-test.c

    r4893 r4894  
    214214    if(( err = testString( "d4:spaml1:a1:bee", TRUE )))
    215215        return err;
    216 #if 0
    217     if(( err = testString( "d9:publisher3:bob18:publisher.location4:home17:publisher-webpage15:www.example.come", TRUE )))
    218         return err;
    219 #endif
     216    if(( err = testString( "d9:publisher3:bob17:publisher-webpage15:www.example.com18:publisher.location4:homee", TRUE )))
     217        return err;
    220218    if(( err = testString( "d8:completei1e8:intervali1800e12:min intervali1800e5:peers0:e", TRUE )))
    221219        return err;
     
    223221        return err;
    224222    if(( err = testString( "", FALSE )))
     223        return err;
     224    if(( err = testString( " ", FALSE )))
    225225        return err;
    226226
Note: See TracChangeset for help on using the changeset viewer.