Changeset 1078 for library

Show
Ignore:
Timestamp:
06/10/10 21:54:27 (14 years ago)
Author:
smidl
Message:

fixed rv_test

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/tests/testsuite/rv_test.cpp

    r1064 r1078  
    5050    // structure of a, b, c 
    5151    str s = abc.tostr(); 
    52     int exp_ids[] = { 1, 1, 1, 2, 2, 3 }; 
     52    int exp_ids[] = { a.id(0), a.id(0), a.id(0), b.id(0), b.id(0), c.id(0) }; 
    5353    int exp_sz = sizeof ( exp_ids ) / sizeof ( exp_ids[0] ); 
    5454    CHECK_EQUAL ( exp_sz, s.ids.size() );