mirror of https://github.com/aria2/aria2
2010-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated doc * test/array_funTest.ccpull/1/head
parent
2141656346
commit
a02c6238bf
|
@ -1,3 +1,8 @@
|
|||
2010-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Updated doc
|
||||
* test/array_funTest.cc
|
||||
|
||||
2010-04-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Fixed segmentation fault when running unit tests on opensolaris.
|
||||
|
|
|
@ -68,6 +68,7 @@ void array_funTest::testArrayLength()
|
|||
int64_t zeroLengthArray[] = {};
|
||||
|
||||
CPPUNIT_ASSERT_EQUAL((size_t)5, A2_ARRAY_LEN(ia));
|
||||
// This causes compile error under gcc v3.4.3 opensolaris 5.11
|
||||
CPPUNIT_ASSERT_EQUAL((size_t)0, A2_ARRAY_LEN(zeroLengthArray));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue